diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-09-10 17:05:54 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-09-13 17:34:45 +0200 |
commit | dc54c78c4d56cdf5549f35ccff2fd66e7ffa0af2 (patch) | |
tree | 4e0c93819e4c420b1c6058a5381519ca58fa1edc /libavfilter | |
parent | 2c6014c629346ebfeb25fc715581a8df9175f71f (diff) | |
download | ffmpeg-dc54c78c4d56cdf5549f35ccff2fd66e7ffa0af2.tar.gz |
buffersrc: Improve initialization log message
Add timebase and aspect ratio information.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/buffersrc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index 651f2ec4e8..a9b893c1aa 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -166,7 +166,10 @@ static av_cold int init_video(AVFilterContext *ctx) if (!(c->fifo = av_fifo_alloc(sizeof(AVFrame*)))) return AVERROR(ENOMEM); - av_log(ctx, AV_LOG_VERBOSE, "w:%d h:%d pixfmt:%s\n", c->w, c->h, av_get_pix_fmt_name(c->pix_fmt)); + av_log(ctx, AV_LOG_VERBOSE, "w:%d h:%d pixfmt:%s tb:%d/%d sar:%d/%d\n", + c->w, c->h, av_get_pix_fmt_name(c->pix_fmt), + c->time_base.num, c->time_base.den, + c->pixel_aspect.num, c->pixel_aspect.den); return 0; } |