diff options
author | wm4 <wm4@nowhere> | 2017-12-11 17:38:30 +0100 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2017-12-11 21:27:11 +0200 |
commit | 308b3cd71bf252ef3e543f6689468641a7fe2cc4 (patch) | |
tree | d4b3204df09d11d7a5eabe6124dcd17b34c81ed8 /video/fmt-conversion.c | |
parent | 5e38e039806c758bb97ee2d99a2e3e9423dce4df (diff) | |
download | mpv-308b3cd71bf252ef3e543f6689468641a7fe2cc4.tar.bz2 mpv-308b3cd71bf252ef3e543f6689468641a7fe2cc4.tar.xz |
vf_convert: default to limited range when converting RGB to YUV
Full range YUV causes problems everywhere. For example it's usually the
wrong choice when using encoding mode, and libswscale sometimes messes
up when converting to full range too. (In this partricular case, we
found that converting rgba->yuv420p16 full range actually seems to
output limited range.)
This actually restores a similar heueristic from the late vf_scale.c.
Diffstat (limited to 'video/fmt-conversion.c')
0 files changed, 0 insertions, 0 deletions