History

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.

James Almer committed 2 years ago

Commit 10c02de1 parent 5c8268a1 file · +3 −1Browse files

Unified · Split

libavfilter/vf_zscale.c+3−1
@@ -358,10 +358,12 @@ static int config_props(AVFilterLink *outlink) · 357 unmodified lines
358358 } else
359359 outlink->sample_aspect_ratio = inlink->sample_aspect_ratio;
360360
361− 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",
361+ 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",
362362 inlink ->w, inlink ->h, av_get_pix_fmt_name( inlink->format),
363+ av_color_space_name(inlink->colorspace), av_color_range_name(inlink->color_range),
363364 inlink->sample_aspect_ratio.num, inlink->sample_aspect_ratio.den,
364365 outlink->w, outlink->h, av_get_pix_fmt_name(outlink->format),
366+ av_color_space_name(outlink->colorspace), av_color_range_name(outlink->color_range),
365367 outlink->sample_aspect_ratio.num, outlink->sample_aspect_ratio.den);
366368 return 0;
367369

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t