From b1a6fd5d4e117267f2fc1f6c28f75395d6390c48 Mon Sep 17 00:00:00 2001 From: nyanmisaka Date: Thu, 29 Aug 2024 00:20:57 +0800 Subject: [PATCH] Fix overly strict dovi level testing 4k@60fps is usually only seen in demos so it's a bit overkill for testing dovi caps. Lower it to the more common 4k@24fps. Signed-off-by: nyanmisaka --- 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 90c1c65e2b..0d0e0bd69a 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)