Skip to content

Commit

Permalink
Fix HDR10/DOVIWithHDR10plus support for Vidaa OS
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulmueid committed Oct 20, 2024
1 parent ddba313 commit 1400f20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/browserDeviceProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ function supportsVc1(videoTestElement) {

function supportsHdr10(options) {
return options.supportsHdr10 ?? (false // eslint-disable-line sonarjs/no-redundant-boolean
|| browser.vidaa
|| browser.tizen
|| browser.web0s
|| browser.safari && ((browser.iOS && browser.iOSVersion >= 11) || browser.osx)
Expand Down Expand Up @@ -1120,7 +1121,7 @@ export default function (options) {
vp9VideoRangeTypes += '|HDR10';
av1VideoRangeTypes += '|HDR10';

if (browser.tizenVersion >= 3) {
if (browser.tizenVersion >= 3 || browser.vidaa) {
hevcVideoRangeTypes += '|DOVIWithHDR10';
}
}
Expand Down

0 comments on commit 1400f20

Please sign in to comment.