mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +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.