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 b6dc069 commit 93ce328Copy full SHA for 93ce328
src/AvTranscoder/transcoder/StreamTranscoder.cpp
@@ -599,7 +599,10 @@ bool StreamTranscoder::processTranscode()
599
switchToGeneratorDecoder();
600
LOG_INFO("Force reallocation of the decoded data buffers since the decoders could have cleared them.")
601
for(std::vector<IFrame*>::iterator it = _decodedData.begin(); it != _decodedData.end(); ++it)
602
- (*it)->allocateData();
+ {
603
+ if(! (*it)->isDataAllocated())
604
+ (*it)->allocateData();
605
+ }
606
return processTranscode();
607
}
608
return false;
0 commit comments