lavfi/drawbox: fix width displayed in place of x.
authorClément Bœsch <ubitux@gmail.com>
Fri, 13 Apr 2012 21:11:39 +0000 (23:11 +0200)
committerClément Bœsch <ubitux@gmail.com>
Fri, 13 Apr 2012 21:15:54 +0000 (23:15 +0200)
libavfilter/vf_drawbox.c

index 62a957f..4d9bae4 100644 (file)
@@ -85,7 +85,7 @@ static int config_input(AVFilterLink *inlink)
     if (drawbox->h == 0) drawbox->h = inlink->h;
 
     av_log(inlink->dst, AV_LOG_INFO, "x:%d y:%d w:%d h:%d color:0x%02X%02X%02X%02X\n",
-           drawbox->w, drawbox->y, drawbox->w, drawbox->h,
+           drawbox->x, drawbox->y, drawbox->w, drawbox->h,
            drawbox->yuv_color[Y], drawbox->yuv_color[U], drawbox->yuv_color[V], drawbox->yuv_color[A]);
 
     return 0;