The Free Software Media System - Server Backend & API
Backport pull request #15072 from jellyfin/release-10.11.z
nyanmisaka348b2992d702
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.csindex c81e639a22..a1d8915353 100644--- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs+++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs@@ -2390,8 +2390,8 @@ namespace MediaBrowser.Controller.MediaEncoding|| (requestHasSDR && videoStream.VideoRangeType == VideoRangeType.DOVIWithSDR)|| (requestHasHDR10 && videoStream.VideoRangeType == VideoRangeType.HDR10Plus))){- // If the video stream is in a static HDR format, don't allow copy if the client does not support HDR10 or HLG.- if (videoStream.VideoRangeType is VideoRangeType.HDR10 or VideoRangeType.HLG)+ // If the video stream is in HDR10+ or a static HDR format, don't allow copy if the client does not support HDR10 or HLG.+ if (videoStream.VideoRangeType is VideoRangeType.HDR10Plus or VideoRangeType.HDR10 or VideoRangeType.HLG){return false;}