1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge branch 'master' into master

This commit is contained in:
Nitzan Savion 2024-03-22 18:15:00 +02:00 committed by GitHub
commit fc2032c07f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 39 additions and 5 deletions

View file

@ -1156,6 +1156,24 @@ export default function (options) {
Conditions: h264CodecProfileConditions
});
if (browser.web0s && supportsDolbyVision(options)) {
// Disallow direct playing of DOVI media in containers not mp4.
// This paired with the "Prefer fMP4-HLS Container" client playback setting enables DOVI playback on webOS.
profile.CodecProfiles.push({
Type: 'Video',
Container: '-mp4',
Codec: 'hevc',
Conditions: [
{
Condition: 'EqualsAny',
Property: 'VideoRangeType',
Value: 'SDR|HDR10|HLG',
IsRequired: false
}
]
});
}
profile.CodecProfiles.push({
Type: 'Video',
Codec: 'hevc',