Skip to content

Commit

Permalink
Merge pull request #5983 from nyanmisaka/fix-dovi-level-test
Browse files Browse the repository at this point in the history
Fix overly strict dovi level testing
  • Loading branch information
thornbill authored Sep 3, 2024
2 parents b9760ea + b1a6fd5 commit 2ebf0c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scripts/browserDeviceProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2ebf0c9

Please sign in to comment.