diff options
| author | GeorgeH005 <72687949+GeorgeH005@users.noreply.github.com> | 2024-04-10 22:33:24 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-10 13:33:24 -0600 |
| commit | e93fa27e4c1404220524d33d2034275344e55a85 (patch) | |
| tree | e9d6d149ccdd5f13621d2768d0386c4285b7067b | |
| parent | f7f7ba885383d164239976a79e8af4b698aa8bdd (diff) | |
Add support for out-of-spec but existent, Dolby Vision Profile 8 CCid 6 media. (#11334)
| -rw-r--r-- | MediaBrowser.Model/Entities/MediaStream.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.cs index a620bc9b5..0d2d7c696 100644 --- a/MediaBrowser.Model/Entities/MediaStream.cs +++ b/MediaBrowser.Model/Entities/MediaStream.cs @@ -730,6 +730,8 @@ namespace MediaBrowser.Model.Entities 1 => (VideoRange.HDR, VideoRangeType.DOVIWithHDR10), 4 => (VideoRange.HDR, VideoRangeType.DOVIWithHLG), 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 _ => (VideoRange.SDR, VideoRangeType.SDR) }, |
