mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Allow Dolby Vision fallback layer on Tizen 3+
This commit is contained in:
parent
576dcd85a1
commit
aa4004a1be
1 changed files with 12 additions and 0 deletions
|
@ -1107,16 +1107,28 @@ export default function (options) {
|
||||||
let vp9VideoRangeTypes = 'SDR';
|
let vp9VideoRangeTypes = 'SDR';
|
||||||
let av1VideoRangeTypes = 'SDR';
|
let av1VideoRangeTypes = 'SDR';
|
||||||
|
|
||||||
|
if (browser.tizenVersion >= 3) {
|
||||||
|
hevcVideoRangeTypes += '|DOVIWithSDR';
|
||||||
|
}
|
||||||
|
|
||||||
if (supportsHdr10(options)) {
|
if (supportsHdr10(options)) {
|
||||||
hevcVideoRangeTypes += '|HDR10';
|
hevcVideoRangeTypes += '|HDR10';
|
||||||
vp9VideoRangeTypes += '|HDR10';
|
vp9VideoRangeTypes += '|HDR10';
|
||||||
av1VideoRangeTypes += '|HDR10';
|
av1VideoRangeTypes += '|HDR10';
|
||||||
|
|
||||||
|
if (browser.tizenVersion >= 3) {
|
||||||
|
hevcVideoRangeTypes += '|DOVIWithHDR10';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (supportsHlg(options)) {
|
if (supportsHlg(options)) {
|
||||||
hevcVideoRangeTypes += '|HLG';
|
hevcVideoRangeTypes += '|HLG';
|
||||||
vp9VideoRangeTypes += '|HLG';
|
vp9VideoRangeTypes += '|HLG';
|
||||||
av1VideoRangeTypes += '|HLG';
|
av1VideoRangeTypes += '|HLG';
|
||||||
|
|
||||||
|
if (browser.tizenVersion >= 3) {
|
||||||
|
hevcVideoRangeTypes += '|DOVIWithHLG';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (supportsDolbyVision(options)) {
|
if (supportsDolbyVision(options)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue