use filter name when graph parser add filters
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 16 May 2010 18:13:55 +0000 (18:13 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 16 May 2010 18:13:55 +0000 (18:13 +0000)
Originally committed as revision 23147 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/graphparser.c

index c4a3bdf..3fe8524 100644 (file)
@@ -82,7 +82,7 @@ static AVFilterContext *create_filter(AVFilterGraph *ctx, int index,
     AVFilter *filt;
     char inst_name[30];
 
-    snprintf(inst_name, sizeof(inst_name), "Parsed filter %d", index);
+    snprintf(inst_name, sizeof(inst_name), "Filter %d %s", index, filt_name);
 
     filt = avfilter_get_by_name(filt_name);