diff options
author | wm4 <wm4@nowhere> | 2020-05-12 22:43:29 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-05-12 22:43:29 +0200 |
commit | c4b2ca83d6afc783b343a4b30d507234c224df40 (patch) | |
tree | 5dfaf8ee29a4657939fc3358cfecc48038f243ba /video | |
parent | 3451908a34437b69cd984198642b4f954cf6c4bf (diff) | |
download | mpv-c4b2ca83d6afc783b343a4b30d507234c224df40.tar.bz2 mpv-c4b2ca83d6afc783b343a4b30d507234c224df40.tar.xz |
draw_bmp: don't make strange decisions on broken iknput csp params
This checked params->color.space for being RGB. If the colorspace is
unset, this did dumb things because even if the imgfmt was a RGB one,
the colorspace was not set to RGB. This actually also happened to the
tests.
(Short-cutting RGB like this is actually wrong, since RGB could still
have strange gamma or primaries, which would warrant a full conversion.
So you'd need to check for these other parameters as well. To be fixed
later.)
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions