Fixed: Include HDR is naming examples

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
pull/3718/head
Qstick 6 years ago
parent fb604483ce
commit 5f7c7ee809

@ -477,8 +477,8 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
var videoDynamicRange = ""; var videoDynamicRange = "";
if (mediaInfo.VideoBitDepth >= 10 && if (mediaInfo.VideoBitDepth >= 10 &&
!string.IsNullOrEmpty(mediaInfo.VideoColourPrimaries) && mediaInfo.VideoColourPrimaries.IsNotNullOrWhiteSpace() &&
!string.IsNullOrEmpty(mediaInfo.VideoTransferCharacteristics)) mediaInfo.VideoTransferCharacteristics.IsNotNullOrWhiteSpace())
{ {
if (mediaInfo.VideoColourPrimaries.EqualsIgnoreCase(ValidHdrColourPrimaries) && if (mediaInfo.VideoColourPrimaries.EqualsIgnoreCase(ValidHdrColourPrimaries) &&
ValidHdrTransferFunctions.Any(mediaInfo.VideoTransferCharacteristics.Contains)) ValidHdrTransferFunctions.Any(mediaInfo.VideoTransferCharacteristics.Contains))

@ -30,7 +30,7 @@ namespace NzbDrone.Core.Organizer
VideoBitDepth = 10, VideoBitDepth = 10,
VideoMultiViewCount = 2, VideoMultiViewCount = 2,
VideoColourPrimaries = "BT.2020", VideoColourPrimaries = "BT.2020",
VideoTransferCharacteristics = "PQ", VideoTransferCharacteristics = "HLG",
AudioFormat = "DTS", AudioFormat = "DTS",
AudioChannels = 6, AudioChannels = 6,
AudioChannelPositions = "3/2/0.1", AudioChannelPositions = "3/2/0.1",
@ -44,7 +44,7 @@ namespace NzbDrone.Core.Organizer
VideoBitDepth = 10, VideoBitDepth = 10,
VideoMultiViewCount = 2, VideoMultiViewCount = 2,
VideoColourPrimaries = "BT.2020", VideoColourPrimaries = "BT.2020",
VideoTransferCharacteristics = "PQ", VideoTransferCharacteristics = "HLG",
AudioFormat = "DTS", AudioFormat = "DTS",
AudioChannels = 6, AudioChannels = 6,
AudioChannelPositions = "3/2/0.1", AudioChannelPositions = "3/2/0.1",

Loading…
Cancel
Save