diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:00:07 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:00:07 +0000 |
commit | 459821c53386f8eddadedbfe0ec19e11bf406ed5 (patch) | |
tree | c22996588f9b019a5a90bb9c2ad2a17b049a75d9 /libavfilter/defaults.c | |
parent | e363730c015e2c58e6fd9d1016441d1c09efd5bf (diff) | |
download | ffmpeg-459821c53386f8eddadedbfe0ec19e11bf406ed5.tar.gz |
Rework link property configuration system.
This can now handle filters which are added to graphs out of order,
including auto-inserted scale filters. As an added bonus, it can
now detect circular filter chains which wouldn't work anyway.
Commited in SoC by Bobby Bingham on 2007-12-24 03:22:10
Originally committed as revision 12073 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/defaults.c')
-rw-r--r-- | libavfilter/defaults.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c index ae85b5bf2b..b518d32d73 100644 --- a/libavfilter/defaults.c +++ b/libavfilter/defaults.c @@ -105,16 +105,6 @@ int avfilter_default_config_output_link(AVFilterLink *link) } /** - * default config_link() implementation for input video links to simplify - * the implementation of one input one output video filters */ -int avfilter_default_config_input_link(AVFilterLink *link) -{ - if(!link->dst->output_count) - return 0; - return avfilter_config_link(link->dst->outputs[0]); -} - -/** * A helper for query_formats() which sets all links to the same list of * formats. If there are no links hooked to this filter, the list of formats is * freed. |