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.
2 parents 6d4a2aa + 14c730d commit fde9230Copy full SHA for fde9230
src/AvTranscoder/filter/FilterGraph.hpp
@@ -52,6 +52,8 @@ class AvExport FilterGraph
52
* filter 1 -> filter 2 -> output
53
* |
54
* input 2 ---|
55
+ * @warning the output frame must be cleared once it has been used
56
+ * @see the av_buffersink_get_frame function documentation
57
*/
58
void process(const std::vector<Frame*>& inputs, Frame& output);
59
src/AvTranscoder/transcoder/StreamTranscoder.cpp
@@ -550,6 +550,8 @@ bool StreamTranscoder::processTranscode()
550
LOG_DEBUG("Convert")
551
_transform->convert(*_filteredData, *_transformedData);
552
553
+ _filteredData->clear();
554
+
555
LOG_DEBUG("Encode")
556
_outputEncoder->encodeFrame(*_transformedData, data);
557
}
0 commit comments