[FFmpeg-cvslog] avfilter/vf_showinfo: also print chroma loc

Niklas Haas git at videolan.org
Sat Oct 14 01:19:27 EEST 2023


ffmpeg | branch: master | Niklas Haas <git at haasn.dev> | Fri Oct 13 15:12:01 2023 +0200| [90d327d607ec89453d96cf34a788e36d520782a5] | committer: Niklas Haas

avfilter/vf_showinfo: also print chroma loc

Curiously absent.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=90d327d607ec89453d96cf34a788e36d520782a5
---

 libavfilter/vf_showinfo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c
index bf8580bc8d..71869446c6 100644
--- a/libavfilter/vf_showinfo.c
+++ b/libavfilter/vf_showinfo.c
@@ -715,11 +715,11 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
     av_log(ctx, AV_LOG_INFO,
            "n:%4"PRId64" pts:%7s pts_time:%-7s duration:%7"PRId64
            " duration_time:%-7s "
-           "fmt:%s sar:%d/%d s:%dx%d i:%c iskey:%d type:%c ",
+           "fmt:%s cl:%s sar:%d/%d s:%dx%d i:%c iskey:%d type:%c ",
            inlink->frame_count_out,
            av_ts2str(frame->pts), av_ts2timestr(frame->pts, &inlink->time_base),
            frame->duration, av_ts2timestr(frame->duration, &inlink->time_base),
-           desc->name,
+           desc->name, av_chroma_location_name(frame->chroma_location),
            frame->sample_aspect_ratio.num, frame->sample_aspect_ratio.den,
            frame->width, frame->height,
            !(frame->flags & AV_FRAME_FLAG_INTERLACED)     ? 'P' :         /* Progressive  */



More information about the ffmpeg-cvslog mailing list