diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-07 12:44:18 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-07 12:48:19 +0200 |
commit | ea7f73c52ea82b792568127ee7e7671c2640bbcd (patch) | |
tree | 887a7e66fb70232532c3423e1f912e612fe6b43c | |
parent | 64c06615d2b99fb9f4ffd6226d0e5787b44a41e2 (diff) | |
download | ffmpeg-ea7f73c52ea82b792568127ee7e7671c2640bbcd.tar.gz |
vsrc_buffer: during init, print information about timebase and sample aspect ratio
-rw-r--r-- | libavfilter/vsrc_buffer.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavfilter/vsrc_buffer.c b/libavfilter/vsrc_buffer.c index 9a94d447b7..84f3b33c3f 100644 --- a/libavfilter/vsrc_buffer.c +++ b/libavfilter/vsrc_buffer.c @@ -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; } |