Commit d2d41a10 authored by vitor's avatar vitor

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12064 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0403847d
......@@ -103,6 +103,16 @@ int avfilter_default_config_output_link(AVFilterLink *link)
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]);
}
/**
* default query_formats() implementation for output video links to simplify
* the implementation of one input one output video filters */
......
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