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:
parent
2d187e2302
commit
999c23a13a
@ -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)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user