Commit 67181bed authored by stefano's avatar stefano

Make avfilter_insert_filter() log the names of the filters between

which it inserts the new filter.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21177 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4675e1fd
...@@ -104,8 +104,9 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad, ...@@ -104,8 +104,9 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad,
int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt, int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt,
unsigned in, unsigned out) unsigned in, unsigned out)
{ {
av_log(link->dst, AV_LOG_INFO, "auto-inserting filter '%s'\n", av_log(link->dst, AV_LOG_INFO, "auto-inserting filter '%s' "
filt->name); "between the filter '%s' and the filter '%s'\n",
filt->name, link->src->name, link->dst->name);
link->dst->inputs[link->dstpad] = NULL; link->dst->inputs[link->dstpad] = NULL;
if(avfilter_link(filt, out, link->dst, link->dstpad)) { if(avfilter_link(filt, out, link->dst, link->dstpad)) {
......
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