From 85322466efacc40158b0a27daeded52c40d48c94 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Fri, 15 Feb 2008 22:13:28 +0000 Subject: [PATCH] Separate the process of creating links between filters from that of configuring the links. Commited in SoC by Bobby Bingham on 2007-08-07 21:02:18 Originally committed as revision 12092 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/avfilter.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 013e63dece..180b0d6dec 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -156,6 +156,7 @@ struct AVFilterPad void avfilter_default_start_frame(AVFilterLink *link, AVFilterPicRef *picref); void avfilter_default_end_frame(AVFilterLink *link); int avfilter_default_config_output_link(AVFilterLink *link); +int avfilter_default_config_input_link (AVFilterLink *link); int *avfilter_default_query_output_formats(AVFilterLink *link); AVFilterPicRef *avfilter_default_get_video_buffer(AVFilterLink *link, int perms); @@ -218,6 +219,9 @@ struct AVFilterLink int avfilter_link(AVFilterContext *src, unsigned srcpad, AVFilterContext *dst, unsigned dstpad); +/** Configure the colorspace, dimensions, etc of a link */ +int avfilter_config_link(AVFilterLink *link); + AVFilterPicRef *avfilter_get_video_buffer(AVFilterLink *link, int perms); void avfilter_request_frame(AVFilterLink *link); void avfilter_start_frame(AVFilterLink *link, AVFilterPicRef *picref);