From c7f925a9c621a2d6be7b954dcc3545943d065747 Mon Sep 17 00:00:00 2001 From: nyanmisaka Date: Tue, 6 Feb 2024 01:07:47 +0800 Subject: [PATCH] Enable client side tone-mapping on EdgeChromium 121+ Signed-off-by: nyanmisaka --- src/scripts/browserDeviceProfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index aef1ca0050..2cdc0758bc 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -194,7 +194,8 @@ function supportsHdr10(options) { || browser.web0s || browser.safari && ((browser.iOS && browser.iOSVersion >= 11) || browser.osx) // Chrome mobile and Firefox have no client side tone-mapping - // Edge Chromium on Nvidia is known to have color issues on 10-bit video + // Edge Chromium 121+ fixed the tone-mapping color issue on Nvidia + || browser.edgeChromium && (browser.versionMajor >= 121) || browser.chrome && !browser.mobile ); }