From 5eb91ea3988bfd019cb83b12a9beed025a1d3fb6 Mon Sep 17 00:00:00 2001 From: nyanmisaka Date: Sat, 7 Sep 2024 18:07:31 -0400 Subject: [PATCH] Backport pull request #5983 from jellyfin-web/release-10.9.z Fix overly strict dovi level testing Original-merge: 2ebf0c9fe42e2d60be41f048fc586c3a11c20729 Merged-by: thornbill Backported-by: Joshua M. Boniface --- src/scripts/browserDeviceProfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index 019ab78073..2c0b57c154 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -242,16 +242,16 @@ function supportedDolbyVisionProfilesHevc(videoTestElement) { if (browser.xboxOne) return [5, 8]; const supportedProfiles = []; - // Profiles 5/8 4k@60fps + // Profiles 5/8 4k@24fps if (videoTestElement.canPlayType) { if (videoTestElement - .canPlayType('video/mp4; codecs="dvh1.05.09"') + .canPlayType('video/mp4; codecs="dvh1.05.06"') .replace(/no/, '')) { supportedProfiles.push(5); } if ( videoTestElement - .canPlayType('video/mp4; codecs="dvh1.08.09"') + .canPlayType('video/mp4; codecs="dvh1.08.06"') .replace(/no/, '') // LG TVs from at least 2020 onwards should support profile 8, but they don't report it. || (browser.web0sVersion >= 4)