Add support for out-of-spec but existent, Dolby Vision Profile 8 CCid 6 media. (#11334)

pull/11337/head
GeorgeH005 1 month ago committed by GitHub
parent f7f7ba8853
commit e93fa27e4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -730,6 +730,8 @@ namespace MediaBrowser.Model.Entities
1 => (VideoRange.HDR, VideoRangeType.DOVIWithHDR10), 1 => (VideoRange.HDR, VideoRangeType.DOVIWithHDR10),
4 => (VideoRange.HDR, VideoRangeType.DOVIWithHLG), 4 => (VideoRange.HDR, VideoRangeType.DOVIWithHLG),
2 => (VideoRange.SDR, VideoRangeType.DOVIWithSDR), 2 => (VideoRange.SDR, VideoRangeType.DOVIWithSDR),
// While not in Dolby Spec, Profile 8 CCid 6 media are possible to create, and since CCid 6 stems from Bluray (Profile 7 originally) an HDR10 base layer is guaranteed to exist.
6 => (VideoRange.HDR, VideoRangeType.DOVIWithHDR10),
// There is no other case to handle here as per Dolby Spec. Default case included for completeness and linting purposes // There is no other case to handle here as per Dolby Spec. Default case included for completeness and linting purposes
_ => (VideoRange.SDR, VideoRangeType.SDR) _ => (VideoRange.SDR, VideoRangeType.SDR)
}, },

Loading…
Cancel
Save