mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-09 09:51:54 +00:00
also allow hdr10plus
This commit is contained in:
parent
97f88743b8
commit
46a53d0605
1 changed files with 5 additions and 2 deletions
|
|
@ -414,6 +414,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
|
||||
return state.VideoStream.VideoRange == VideoRange.HDR
|
||||
&& (state.VideoStream.VideoRangeType == VideoRangeType.HDR10
|
||||
|| IsHdr10Plus(state.VideoStream)
|
||||
|| IsDoviWithHdr10Bl(state.VideoStream));
|
||||
}
|
||||
|
||||
|
|
@ -429,8 +430,10 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
// Certain DV profile 5 video works in Safari with direct playing, but the VideoToolBox does not produce correct mapping results with transcoding.
|
||||
// All other HDR formats working.
|
||||
return state.VideoStream.VideoRange == VideoRange.HDR
|
||||
&& (IsDoviWithHdr10Bl(state.VideoStream)
|
||||
|| state.VideoStream.VideoRangeType is VideoRangeType.HLG);
|
||||
&& (state.VideoStream.VideoRangeType == VideoRangeType.HDR10
|
||||
|| IsHdr10Plus(state.VideoStream)
|
||||
|| IsDoviWithHdr10Bl(state.VideoStream)
|
||||
|| state.VideoStream.VideoRangeType == VideoRangeType.HLG);
|
||||
}
|
||||
|
||||
private bool IsVideoStreamHevcRext(EncodingJobInfo state)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue