aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-11-09 18:02:07 -0300
committerJames Almer <jamrial@gmail.com>2024-11-09 19:33:57 -0300
commit10c02deccb65ab1b6cc7bc2f058d7fa96ac3b281 (patch)
treee7098598327e2f245e272345787ce05bfdcd083a
parent5c8268ac568aa400c3443e40564625fb62129a8b (diff)
downloadffmpeg-10c02deccb65ab1b6cc7bc2f058d7fa96ac3b281.tar.gz
avfilter/vf_zscale: extend the configuration log message with color space info
And print it in DEBUG level, not TRACE, as it's useful information. Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavfilter/vf_zscale.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c
index 236c8f74e3..e456053b4e 100644
--- a/libavfilter/vf_zscale.c
+++ b/libavfilter/vf_zscale.c
@@ -358,10 +358,12 @@ static int config_props(AVFilterLink *outlink)
} else
outlink->sample_aspect_ratio = inlink->sample_aspect_ratio;
- av_log(ctx, AV_LOG_TRACE, "w:%d h:%d fmt:%s sar:%d/%d -> w:%d h:%d fmt:%s sar:%d/%d\n",
+ av_log(ctx, AV_LOG_DEBUG, "w:%d h:%d fmt:%s csp:%s range:%s sar:%d/%d -> w:%d h:%d fmt:%s csp:%s range:%s sar:%d/%d\n",
inlink ->w, inlink ->h, av_get_pix_fmt_name( inlink->format),
+ av_color_space_name(inlink->colorspace), av_color_range_name(inlink->color_range),
inlink->sample_aspect_ratio.num, inlink->sample_aspect_ratio.den,
outlink->w, outlink->h, av_get_pix_fmt_name(outlink->format),
+ av_color_space_name(outlink->colorspace), av_color_range_name(outlink->color_range),
outlink->sample_aspect_ratio.num, outlink->sample_aspect_ratio.den);
return 0;