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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy