mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-10 10:13:42 +00:00
Allow HDR10 for VPP tonemapping
It mistakenly required OpenCL tone mapping but VPP can handle this
This commit is contained in:
parent
2c62d40f0d
commit
97f88743b8
1 changed files with 2 additions and 1 deletions
|
|
@ -413,7 +413,8 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
}
|
||||
|
||||
return state.VideoStream.VideoRange == VideoRange.HDR
|
||||
&& IsDoviWithHdr10Bl(state.VideoStream);
|
||||
&& (state.VideoStream.VideoRangeType == VideoRangeType.HDR10
|
||||
|| IsDoviWithHdr10Bl(state.VideoStream));
|
||||
}
|
||||
|
||||
private bool IsVideoToolboxTonemapAvailable(EncodingJobInfo state, EncodingOptions options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue