We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75d6c30 commit ef0c996Copy full SHA for ef0c996
src/AvTranscoder/transcoder/StreamTranscoder.cpp
@@ -556,9 +556,9 @@ void StreamTranscoder::setOffset( const float offset )
556
557
StreamTranscoder::EProcessCase StreamTranscoder::getProcessCase() const
558
{
559
- if( _inputStream && _inputDecoder )
+ if( _inputStream && _inputDecoder && _currentDecoder == _inputDecoder )
560
return eProcessCaseTranscode;
561
- else if( _inputStream && ! _inputDecoder )
+ else if( _inputStream && ! _inputDecoder && ! _currentDecoder )
562
return eProcessCaseRewrap;
563
else
564
return eProcessCaseGenerator;
0 commit comments