[FFmpeg-devel] [PATCH] avfilter/vf_zscale: fix output color_range discrepancy

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Sep 17 21:43:24 EEST 2021


Paul B Mahol:
> Thanks. There is another path that sets it correctly. Please apply this.
> The code could be refactored later.

Shouldn't one use something like convert_range() (but for converting
back) instead of hardcoding the assumption that ZIMG_RANGE_* + 1 =
AVCOL_RANGE_* for matching ranges?

- Andreas


More information about the ffmpeg-devel mailing list