diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:13:33 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:13:33 +0000 |
commit | 63f64e6f4d27aa7025922c5e8514e1aca51b9e80 (patch) | |
tree | 3a63cd66411773dad60f7df2a20e7ea8075f4003 /libavfilter/avfilter.h | |
parent | a9c81431bdbb1eef04c8d0a292f90f1dd0b7587e (diff) | |
download | ffmpeg-63f64e6f4d27aa7025922c5e8514e1aca51b9e80.tar.gz |
Let request_frame() indicate success or failure
Commited in SoC by Bobby Bingham on 2007-08-11 17:42:36
Originally committed as revision 12094 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 617e512a70..b0f41a9449 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -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, unsigned srcpad, 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); |