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
This commit is contained in:
Stefano Sabatini 2010-01-10 13:45:55 +00:00
parent 2d187e2302
commit 999c23a13a

View File

@ -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)) {