Make avfilter_insert_filter() log the names of the filters between

which it inserts the new filter.

Originally committed as revision 21177 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2010-01-13 00:16:52 +00:00
parent f37c934d20
commit 08f8b51f69
1 changed files with 3 additions and 2 deletions

View File

@ -104,8 +104,9 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad,
int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt,
unsigned in, unsigned out)
{
av_log(link->dst, AV_LOG_INFO, "auto-inserting filter '%s'\n",
filt->name);
av_log(link->dst, AV_LOG_INFO, "auto-inserting filter '%s' "
"between the filter '%s' and the filter '%s'\n",
filt->name, link->src->name, link->dst->name);
link->dst->inputs[link->dstpad] = NULL;
if(avfilter_link(filt, out, link->dst, link->dstpad)) {