These error messages should print the filter name, not the instance name
authorVitor Sessak <vitor1001@gmail.com>
Sat, 24 May 2008 20:42:00 +0000 (20:42 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Sat, 24 May 2008 20:42:00 +0000 (20:42 +0000)
Commited in SoC by Vitor Sessak on 2008-05-24 13:08:23

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

libavfilter/graphparser.c

index ad1c5fa..624b098 100644 (file)
@@ -211,7 +211,7 @@ static int link_filter_inouts(AVFilterContext *filter,
         if(!p) {
             av_log(log_ctx, AV_LOG_ERROR,
                    "Not enough inputs specified for the \"%s\" filter.\n",
-                   filter->name);
+                   filter->filter->name);
             return -1;
         }
 
@@ -231,7 +231,7 @@ static int link_filter_inouts(AVFilterContext *filter,
     if(*currInputs) {
         av_log(log_ctx, AV_LOG_ERROR,
                "Too many inputs specified for the \"%s\" filter.\n",
-               filter->name);
+               filter->filter->name);
         return -1;
     }