Allow HDR10 for VPP tonemapping

It mistakenly required OpenCL tone mapping but VPP can handle this
This commit is contained in:
gnattu
2026-04-27 20:10:12 +08:00
parent 2c62d40f0d
commit 97f88743b8

View File

@@ -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)