Skip to content

Commit 5fb1558

Browse files
committed
hotfix: fix to generator switch on BasedOnDuration process method
1 parent 6b53ed1 commit 5fb1558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AvTranscoder/transcoder/Transcoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ void Transcoder::manageSwitchToGenerator()
500500
_streamTranscoders.at( i )->canSwitchToGenerator( false );
501501
break;
502502
case eProcessMethodBasedOnDuration :
503-
if( _streamTranscoders.at( i )->getDuration() > _outputDuration )
503+
if( _streamTranscoders.at( i )->getDuration() >= _outputDuration )
504504
_streamTranscoders.at( i )->canSwitchToGenerator( false );
505505
else
506506
_streamTranscoders.at( i )->canSwitchToGenerator( true );

0 commit comments

Comments
 (0)