@@ -566,12 +566,12 @@ AMF_RESULT RenderEncodePipeline::Init(ParametersStorage* pParams, int threadID)
566
566
}
567
567
else
568
568
{
569
- LOG_ERROR (L" Error while selecting instace number " << selectedInstance);
569
+ LOG_ERROR (L" Error while selecting instance number " << selectedInstance);
570
570
}
571
571
}
572
572
else
573
573
{
574
- LOG_ERROR (L" Error while enabling Multi Instace Mode" );
574
+ LOG_ERROR (L" Error while enabling Multi-instance Mode" );
575
575
}
576
576
}
577
577
}
@@ -610,12 +610,12 @@ AMF_RESULT RenderEncodePipeline::Init(ParametersStorage* pParams, int threadID)
610
610
611
611
m_pStreamWriter = PipelineElementPtr (new StreamWriter (m_pStreamOut));
612
612
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
616
616
#if ASYNC_CONNECT == 0
617
617
// ---------------------------------------------------------------------------------------------
618
- // Connect pipeline a-sync
618
+ // Connect pipeline asynchronously
619
619
620
620
Connect (m_pVideoRender, 4 );
621
621
if (m_pConverter != NULL )
@@ -628,7 +628,7 @@ AMF_RESULT RenderEncodePipeline::Init(ParametersStorage* pParams, int threadID)
628
628
// Connect(m_pDummyWriter, 5);
629
629
#elif ASYNC_CONNECT == 1
630
630
// ---------------------------------------------------------------------------------------------
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
632
632
633
633
Connect (m_pVideoRender, 4 , true );
634
634
if (m_pConverter != NULL )
0 commit comments