Force DoVi on browser.xboxOne as edgeUWP says it can't play it

Unsure if DoVi profile 8 works on Xbox but the video plays
This commit is contained in:
Raafat Akkad
2024-06-06 19:34:52 +01:00
committed by Raafat Akkad
parent 7e20d3032f
commit cb085ff955

View File

@@ -239,6 +239,8 @@ function supportsDolbyVision(options) {
}
function supportedDolbyVisionProfilesHevc(videoTestElement) {
if (browser.xboxOne) return [5, 8];
const supportedProfiles = [];
// Profiles 5/8 4k@60fps
if (videoTestElement.canPlayType) {