Commit 999c23a1 authored by Stefano Sabatini's avatar Stefano Sabatini

Make avfilter_insert_filter() print the instance name of the

auto-inserted scale filter, rather than the filter name, as this
provides more information.

Originally committed as revision 21123 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2d187e23
...@@ -105,7 +105,7 @@ int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt, ...@@ -105,7 +105,7 @@ 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'\n",
filt->filter->name); filt->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