Skip to content

Commit 0e49751

Browse files
author
Valentin Noel
committed
StreamTranscoder: avoid checking every filter graph buffer if the process won't be continued
1 parent 9abcb90 commit 0e49751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AvTranscoder/transcoder/StreamTranscoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ bool StreamTranscoder::processTranscode()
579579
if(!_filterGraph->hasFilters() || !_filterGraph->hasBufferedFrames(index))
580580
{
581581
continueProcess = false;
582-
continue;
582+
break;
583583
}
584584
LOG_DEBUG("Some frames remain into filter graph buffer " << index);
585585

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