In the pad filter, log information about the input size.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 12 Jan 2011 16:40:23 +0000 (16:40 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 12 Jan 2011 16:40:23 +0000 (16:40 +0000)
Originally committed as revision 26320 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/vf_pad.c

index 2051d37..467db5b 100644 (file)
@@ -213,8 +213,8 @@ static int config_input(AVFilterLink *inlink)
     fill_line_with_color(pad->line, pad->line_step, pad->w, pad->color,
                          inlink->format, rgba_color, &is_packed_rgba);
 
-    av_log(ctx, AV_LOG_INFO, "w:%d h:%d x:%d y:%d color:0x%02X%02X%02X%02X[%s]\n",
-           pad->w, pad->h, pad->x, pad->y,
+    av_log(ctx, AV_LOG_INFO, "w:%d h:%d -> w:%d h:%d x:%d y:%d color:0x%02X%02X%02X%02X[%s]\n",
+           inlink->w, inlink->h, pad->w, pad->h, pad->x, pad->y,
            pad->color[0], pad->color[1], pad->color[2], pad->color[3],
            is_packed_rgba ? "rgba" : "yuva");