summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-07-22 11:24:27 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-07-25 10:01:29 +0200
commitb73be80d48c690450d80fd317f1495136daa43e9 (patch)
tree9259fda02f9b1a8cea50d58874de15e1a005971b /libavfilter/avfilter.h
parent20e88d86182d9bb49112648d9a42849a7b17eacd (diff)
lavfi/avfilter.h: add doxy for AVFilterLink.cur_buf
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 229f78d8e9..47435f0879 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -578,7 +578,22 @@ struct AVFilterLink {
*/
AVFilterBufferRef *src_buf;
+ /**
+ * The buffer reference to the frame sent across the link by the
+ * source filter, which is read by the destination filter. It is
+ * automatically set up by ff_start_frame().
+ *
+ * Depending on the permissions, it may either be the same as
+ * src_buf or an automatic copy of it.
+ *
+ * It is automatically freed by the filter system when calling
+ * ff_end_frame(). In case you save the buffer reference
+ * internally (e.g. if you cache it for later reuse), or give it
+ * away (e.g. if you pass the reference to the next filter) it
+ * must be set to NULL before calling ff_end_frame().
+ */
AVFilterBufferRef *cur_buf;
+
AVFilterBufferRef *out_buf;
struct AVFilterPool *pool;