1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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 12064 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak 2008-02-15 21:58:29 +00:00
parent bf4ce7a364
commit f66f53dac8

View File

@ -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 */