[FFmpeg-devel] [PATCH] lavfi/avfilter.h: add doxy for AVFilterLink.cur_buf
Stefano Sabatini
stefasab at gmail.com
Sun Jul 22 12:52:23 CEST 2012
---
libavfilter/avfilter.h | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 4d3a7a8..a9665f5 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -571,7 +571,18 @@ struct AVFilterLink {
*/
AVFilterBufferRef *src_buf;
+ /**
+ * The accessed buffer reference to the frame sent across the link
+ * by the source filter. This is the same as src_buf if there is
+ * no need to copy it, otherwise is an accessible copy of the
+ * source buffer.
+ *
+ * This is automatically freed by the filter system. In case you
+ * save the buffer reference internally (e.g. if you cache it for
+ * later reuse), you must set it to NULL.
+ */
AVFilterBufferRef *cur_buf;
+
AVFilterBufferRef *out_buf;
struct AVFilterPool *pool;
--
1.7.5.4
More information about the ffmpeg-devel
mailing list