diff options
| author | Christopher Young <c.t.ythegamer@gmail.com> | 2025-11-08 07:31:02 -0700 |
|---|---|---|
| committer | Christopher Young <c.t.ythegamer@gmail.com> | 2025-11-08 07:31:02 -0700 |
| commit | 4cb038574515590611af081b5fe341ff4cb840b2 (patch) | |
| tree | 847f90cd0fd7db9b7845d0afafdabedd3ecf3b74 /MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | |
| parent | 438d992c8b0522f6a17f437ee991c8ef6808d749 (diff) | |
| parent | 1adf441f1ca9d61c3d6c63df0ea87a870e03632f (diff) | |
Merge branch 'master' of https://github.com/JadedRain/jellyfin
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs')
| -rw-r--r-- | MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs index 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; } |
