diff options
author | Niklas Haas <git@haasn.xyz> | 2019-09-15 01:33:27 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2019-09-15 01:33:27 +0200 |
commit | a416b3f084350fae94049f60ef94f2af10a05f95 (patch) | |
tree | 5657755b3dd70ca5af0ecb2f42bfaeb073755167 /video/out/hwdec | |
parent | ee0f4444f9b7e22e6b2b3895bf340f585b0cce70 (diff) | |
download | mpv-a416b3f084350fae94049f60ef94f2af10a05f95.tar.bz2 mpv-a416b3f084350fae94049f60ef94f2af10a05f95.tar.xz |
vo_gpu: correctly normalize src.sig_peak
In some cases, src.sig_peak remains undefined as 0, which was definitely
the case when using the OSD, since it never got passed through the usual
color space normalization process. Most robust work-around is to simply
force the normalization at the site where it's needed. This ensures this
value is always valid and defined, to make the peak-dependent logic in
these two functions always work.
Fixes 4b25ec3a9d
Fixes #6917
Fixes #6918
Diffstat (limited to 'video/out/hwdec')
0 files changed, 0 insertions, 0 deletions