vsrc_buffer: during init, print information about timebase and sample aspect ratio
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 7 May 2011 10:44:18 +0000 (12:44 +0200)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 7 May 2011 10:48:19 +0000 (12:48 +0200)
libavfilter/vsrc_buffer.c

index 9a94d44..84f3b33 100644 (file)
@@ -133,7 +133,10 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
         }
     }
 
-    av_log(ctx, AV_LOG_INFO, "w:%d h:%d pixfmt:%s\n", c->w, c->h, av_pix_fmt_descriptors[c->pix_fmt].name);
+    av_log(ctx, AV_LOG_INFO, "w:%d h:%d pixfmt:%s tb:%d/%d sar:%d/%d\n",
+           c->w, c->h, av_pix_fmt_descriptors[c->pix_fmt].name,
+           c->time_base.num, c->time_base.den,
+           c->sample_aspect_ratio.num, c->sample_aspect_ratio.den);
     return 0;
 }