OSDN Git Service

Add context to av_log()
authorVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 21:40:59 +0000 (21:40 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 21:40:59 +0000 (21:40 +0000)
Commited in SoC by Vitor Sessak on 2008-02-10 09:05:39

Originally committed as revision 12047 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/avfilter.c

index 9b976ee..08a7484 100644 (file)
@@ -96,7 +96,7 @@ int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt,
 {
     AVFilterFormats *formats;
 
-    av_log(NULL, AV_LOG_INFO, "auto-inserting filter '%s'\n",
+    av_log(link->dst, AV_LOG_INFO, "auto-inserting filter '%s'\n",
             filt->filter->name);
 
     link->dst->inputs[link->dstpad] = NULL;