Message ID | 20231013142130.60263-1-ffmpeg@haasn.xyz |
---|---|
State | Accepted |
Commit | 90d327d607ec89453d96cf34a788e36d520782a5 |
Headers | show |
Series | [FFmpeg-devel] avfilter/vf_showinfo: also print chroma loc | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On Fri, Oct 13, 2023 at 10:21 AM Niklas Haas <ffmpeg@haasn.xyz> wrote: > From: Niklas Haas <git@haasn.dev> > > Curiously absent. > --- > 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 */ > -- > ok
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 */
From: Niklas Haas <git@haasn.dev> Curiously absent. --- libavfilter/vf_showinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)