Commit b9b4bf92 authored by vitor's avatar vitor

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12073 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 43ff4e9f
...@@ -104,16 +104,6 @@ int avfilter_default_config_output_link(AVFilterLink *link) ...@@ -104,16 +104,6 @@ int avfilter_default_config_output_link(AVFilterLink *link)
return 0; return 0;
} }
/**
* 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 * 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 * formats. If there are no links hooked to this filter, the list of formats is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment