浏览代码

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

GeorgeH005 1 年之前
父节点
当前提交
e93fa27e4c
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      MediaBrowser.Model/Entities/MediaStream.cs

+ 2 - 0
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)
                     },