Skip to content

Commit 6ab2b3c

Browse files
author
Valentin Noel
committed
FilterGraph: adds a warning into the process() method documentation
1 parent 9c6ee8a commit 6ab2b3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AvTranscoder/filter/FilterGraph.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ class AvExport FilterGraph
5252
* filter 1 -> filter 2 -> output
5353
* |
5454
* input 2 ---|
55+
* @warning the output frame must be cleared once it has been used
56+
* @see the av_buffersink_get_frame function documentation
5557
*/
5658
void process(const std::vector<Frame*>& inputs, Frame& output);
5759

0 commit comments

Comments
 (0)