Enable tone-mapping and HLS remuxing for DoVi Profile 10 in AV1 (#12604)

This commit is contained in:
Nyanmisaka
2024-09-08 01:19:26 +08:00
committed by GitHub
parent d0567fc8c6
commit 5d4f71eb9a
2 changed files with 16 additions and 9 deletions

View File

@@ -315,8 +315,7 @@ namespace MediaBrowser.Controller.MediaEncoding
return false;
}
if (string.Equals(state.VideoStream.Codec, "hevc", StringComparison.OrdinalIgnoreCase)
&& state.VideoStream.VideoRange == VideoRange.HDR
if (state.VideoStream.VideoRange == VideoRange.HDR
&& state.VideoStream.VideoRangeType == VideoRangeType.DOVI)
{
// Only native SW decoder and HW accelerator can parse dovi rpu.