OSDN Git Service

Group avfilter_poll_frame() with related funcions and add doxygen comment
authorVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 22:14:49 +0000 (22:14 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 22:14:49 +0000 (22:14 +0000)
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

index fb560fc..3e805f0 100644 (file)
@@ -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.
  */
@@ -460,6 +458,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
  * @param picref A reference to the frame about to be sent.  The data for this