From b04c740a1839e4628515592ef8f367f011881183 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Fri, 15 Feb 2008 22:14:49 +0000 Subject: [PATCH] Group avfilter_poll_frame() with related funcions and add doxygen comment Commited in SoC by Vitor Sessak on 2008-02-10 20:30:50 Originally committed as revision 12113 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/avfilter.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index fb560fcea4..3e805f0c1e 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -184,8 +184,6 @@ void avfilter_formats_ref(AVFilterFormats *f, AVFilterFormats **ref); */ void avfilter_formats_unref(AVFilterFormats **ref); -int avfilter_poll_frame(AVFilterLink *link); - /** * A filter pad used for either input or output. */ @@ -459,6 +457,13 @@ AVFilterPicRef *avfilter_get_video_buffer(AVFilterLink *link, int perms); */ int avfilter_request_frame(AVFilterLink *link); +/** + * Poll a frame from the filter chain. + * @param link the input link + * @return the number of imediately available frames + */ +int avfilter_poll_frame(AVFilterLink *link); + /** * Notify the next filter of the start of a frame. * @param link the output link the frame will be sent over