The Free Software Media System - Server Backend & API
Add support for out-of-spec but existent, Dolby Vision Profile 8 CCid 6 media. (#11334)
GeorgeH005e93fa27e4c14
diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.csindex a620bc9b54..0d2d7c6965 100644--- a/MediaBrowser.Model/Entities/MediaStream.cs+++ b/MediaBrowser.Model/Entities/MediaStream.cs@@ -730,6 +730,8 @@ namespace MediaBrowser.Model.Entities1 => (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)},