You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
buffersrc: Improve initialization log message
Add timebase and aspect ratio information.
This commit is contained in:
@@ -166,7 +166,10 @@ static av_cold int init_video(AVFilterContext *ctx)
|
|||||||
if (!(c->fifo = av_fifo_alloc(sizeof(AVFrame*))))
|
if (!(c->fifo = av_fifo_alloc(sizeof(AVFrame*))))
|
||||||
return AVERROR(ENOMEM);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user