Merge pull request #6090 from dmitrylyzo/tizen-dovi

Allow Dolby Vision fallback layer on Tizen 3+
This commit is contained in:
Bill Thornton 2024-09-21 02:22:46 -04:00 committed by GitHub
commit 0c729d347b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1107,16 +1107,28 @@ export default function (options) {
let vp9VideoRangeTypes = 'SDR';
let av1VideoRangeTypes = 'SDR';
if (browser.tizenVersion >= 3) {
hevcVideoRangeTypes += '|DOVIWithSDR';
}
if (supportsHdr10(options)) {
hevcVideoRangeTypes += '|HDR10';
vp9VideoRangeTypes += '|HDR10';
av1VideoRangeTypes += '|HDR10';
if (browser.tizenVersion >= 3) {
hevcVideoRangeTypes += '|DOVIWithHDR10';
}
}
if (supportsHlg(options)) {
hevcVideoRangeTypes += '|HLG';
vp9VideoRangeTypes += '|HLG';
av1VideoRangeTypes += '|HLG';
if (browser.tizenVersion >= 3) {
hevcVideoRangeTypes += '|DOVIWithHLG';
}
}
if (supportsDolbyVision(options)) {