[FFmpeg-cvslog] r12094 - trunk/libavfilter/avfilter.h

vitor subversion
Fri Feb 15 23:13:33 CET 2008


Author: vitor
Date: Fri Feb 15 23:13:33 2008
New Revision: 12094

Log:
Let request_frame() indicate success or failure

Commited in SoC by Bobby Bingham on 2007-08-11 17:42:36


Modified:
   trunk/libavfilter/avfilter.h

Modified: trunk/libavfilter/avfilter.h
==============================================================================
--- trunk/libavfilter/avfilter.h	(original)
+++ trunk/libavfilter/avfilter.h	Fri Feb 15 23:13:33 2008
@@ -139,7 +139,7 @@ struct AVFilterPad
      * Frame request callback.  A call to this should result in at least one
      * frame being output over the given link.  Video output pads only.
      */
-    void (*request_frame)(AVFilterLink *link);
+    int (*request_frame)(AVFilterLink *link);
 
     /**
      * Link configuration callback.  For output pads, this should set the link
@@ -224,7 +224,7 @@ int avfilter_link(AVFilterContext *src, 
 int avfilter_config_link(AVFilterLink *link);
 
 AVFilterPicRef *avfilter_get_video_buffer(AVFilterLink *link, int perms);
-void avfilter_request_frame(AVFilterLink *link);
+int  avfilter_request_frame(AVFilterLink *link);
 void avfilter_start_frame(AVFilterLink *link, AVFilterPicRef *picref);
 void avfilter_end_frame(AVFilterLink *link);
 void avfilter_draw_slice(AVFilterLink *link, uint8_t *data[4], int y, int h);




More information about the ffmpeg-cvslog mailing list