mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-08 16:12:23 +02:00
Doing this in FFmpegVideoDecoder meant that the fallback to BT.709 with unspecified transfer characteristics was taking precedence. Instead of overriding unspecified to sRGB there, change the switch statement in ColorSpace::from_cicp() so that the unspecified fallback and override both live in the same place. This should fix the contrast on a lot of YouTube videos. Note that this now also affects images, which is consistent with Chromium.
10 KiB
10 KiB