Skip to content

Commit 9c36583

Browse files
authored
Merge pull request #316 from dsh0416/dsh0416/fix-typo
2 parents ce85c7a + 1f95bfe commit 9c36583

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

amf/public/samples/CPPSamples/VCEEncoderD3D/RenderEncodePipeline.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -566,12 +566,12 @@ AMF_RESULT RenderEncodePipeline::Init(ParametersStorage* pParams, int threadID)
566566
}
567567
else
568568
{
569-
LOG_ERROR(L"Error while selecting instace number " << selectedInstance);
569+
LOG_ERROR(L"Error while selecting instance number " << selectedInstance);
570570
}
571571
}
572572
else
573573
{
574-
LOG_ERROR(L"Error while enabling Multi Instace Mode");
574+
LOG_ERROR(L"Error while enabling Multi-instance Mode");
575575
}
576576
}
577577
}
@@ -610,12 +610,12 @@ AMF_RESULT RenderEncodePipeline::Init(ParametersStorage* pParams, int threadID)
610610

611611
m_pStreamWriter = PipelineElementPtr(new StreamWriter(m_pStreamOut));
612612

613-
#define ASYNC_CONNECT 0 // full a-sync
614-
//#define ASYNC_CONNECT 1 // full sync
615-
//#define ASYNC_CONNECT 2 // siltter test
613+
#define ASYNC_CONNECT 0 // fully asynchronous
614+
//#define ASYNC_CONNECT 1 // fully synchronous
615+
//#define ASYNC_CONNECT 2 // splitter test
616616
#if ASYNC_CONNECT == 0
617617
//---------------------------------------------------------------------------------------------
618-
// Connect pipeline a-sync
618+
// Connect pipeline asynchronously
619619

620620
Connect(m_pVideoRender, 4);
621621
if(m_pConverter != NULL)
@@ -628,7 +628,7 @@ AMF_RESULT RenderEncodePipeline::Init(ParametersStorage* pParams, int threadID)
628628
// Connect(m_pDummyWriter, 5);
629629
#elif ASYNC_CONNECT == 1
630630
//---------------------------------------------------------------------------------------------
631-
// Connect pipeline sync - all components run in the same thread - slow - this code is for demo only
631+
// Connect pipeline synchronously - all components run in the same thread - slow - this code is for demo only
632632

633633
Connect(m_pVideoRender, 4, true);
634634
if(m_pConverter != NULL)

0 commit comments

Comments
 (0)