summaryrefslogtreecommitdiff
path: root/libavfilter/buffersrc.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-16 23:13:44 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-16 23:13:44 +0200
commit3e2cf79e1549f6ba64aa6219292cc2b638a29b46 (patch)
treea0315c624b79006eaf323b512f380344c7508681 /libavfilter/buffersrc.h
parent703e920bb75053bf6b87d41d198cbbfbce3fb7ad (diff)
downloadffmpeg-3e2cf79e1549f6ba64aa6219292cc2b638a29b46.tar.gz
buffersrc: export forgotten function
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/buffersrc.h')
-rw-r--r--libavfilter/buffersrc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavfilter/buffersrc.h b/libavfilter/buffersrc.h
index 25e2fbf6dc..cd6492e5cb 100644
--- a/libavfilter/buffersrc.h
+++ b/libavfilter/buffersrc.h
@@ -63,6 +63,15 @@ int av_buffersrc_add_ref(AVFilterContext *buffer_src,
unsigned av_buffersrc_get_nb_failed_requests(AVFilterContext *buffer_src);
/**
+ * Add a buffer to the filtergraph s.
+ *
+ * @param buf buffer containing frame data to be passed down the filtergraph.
+ * This function will take ownership of buf, the user must not free it.
+ * A NULL buf signals EOF -- i.e. no more frames will be sent to this filter.
+ */
+int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf);
+
+/**
* Add a frame to the buffer source.
*
* @param s an instance of the buffersrc filter.