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 383143a commit 83bea1aCopy full SHA for 83bea1a
src/AvTranscoder/transcoder/StreamTranscoder.cpp
@@ -528,10 +528,12 @@ bool StreamTranscoder::processTranscode()
528
529
LOG_DEBUG("Decode next frame")
530
bool decodingStatus = true;
531
- for(size_t index = 0; index < _inputDecoders.size(); ++index)
+ for(size_t index = 0; index < _generators.size(); ++index)
532
{
533
if(getProcessCase() == eProcessCaseTranscode)
534
_currentDecoder = _inputDecoders.at(index);
535
+ else
536
+ _currentDecoder = _generators.at(index);
537
538
if(! _inputStreamDesc.empty() && _inputStreamDesc.at(index).demultiplexing())
539
decodingStatus = decodingStatus && _currentDecoder->decodeNextFrame(*_decodedData.at(index), _inputStreamDesc.at(index)._channelIndexArray);
0 commit comments