nearly copy paste from buffersink.h
Signed-off-by: Muhammad Faiz <[email protected]>
---
libavfilter/filters.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavfilter/filters.h b/libavfilter/filters.h
index 2c78d60..c695fbf 100644
--- a/libavfilter/filters.h
+++ b/libavfilter/filters.h
@@ -92,6 +92,9 @@ int ff_inlink_consume_frame(AVFilterLink *link, AVFrame
**rframe);
* @return >0 if a frame is available,
* 0 and set rframe to NULL if no frame available,
* or AVERROR code
+ *
+ * @warning do not mix this function with ff_inlink_consume_frame(). Use only
one or
+ * the other with a single link, not both.
*/
int ff_inlink_consume_samples(AVFilterLink *link, unsigned min, unsigned max,
AVFrame **rframe);
--
2.9.3
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel