summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-01-13 00:16:52 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-01-13 00:16:52 +0000
commit08f8b51f697edddfb6b66856c0d3343666e5578f (patch)
tree1c07e9e4fc919bdb5020df692fef0db4e01d4d3f /libavfilter
parentf37c934d20a92d873e2cbb2eb64876177a18d9a0 (diff)
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
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avfilter.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index a7a009f085..959a2414c7 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -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)) {