mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Fixed: Include HDR is naming examples
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
fb604483ce
commit
5f7c7ee809
@ -477,8 +477,8 @@ public static string FormatVideoDynamicRange(MediaInfoModel mediaInfo)
|
||||
var videoDynamicRange = "";
|
||||
|
||||
if (mediaInfo.VideoBitDepth >= 10 &&
|
||||
!string.IsNullOrEmpty(mediaInfo.VideoColourPrimaries) &&
|
||||
!string.IsNullOrEmpty(mediaInfo.VideoTransferCharacteristics))
|
||||
mediaInfo.VideoColourPrimaries.IsNotNullOrWhiteSpace() &&
|
||||
mediaInfo.VideoTransferCharacteristics.IsNotNullOrWhiteSpace())
|
||||
{
|
||||
if (mediaInfo.VideoColourPrimaries.EqualsIgnoreCase(ValidHdrColourPrimaries) &&
|
||||
ValidHdrTransferFunctions.Any(mediaInfo.VideoTransferCharacteristics.Contains))
|
||||
|
@ -30,7 +30,7 @@ public FileNameSampleService(IBuildFileNames buildFileNames)
|
||||
VideoBitDepth = 10,
|
||||
VideoMultiViewCount = 2,
|
||||
VideoColourPrimaries = "BT.2020",
|
||||
VideoTransferCharacteristics = "PQ",
|
||||
VideoTransferCharacteristics = "HLG",
|
||||
AudioFormat = "DTS",
|
||||
AudioChannels = 6,
|
||||
AudioChannelPositions = "3/2/0.1",
|
||||
@ -44,7 +44,7 @@ public FileNameSampleService(IBuildFileNames buildFileNames)
|
||||
VideoBitDepth = 10,
|
||||
VideoMultiViewCount = 2,
|
||||
VideoColourPrimaries = "BT.2020",
|
||||
VideoTransferCharacteristics = "PQ",
|
||||
VideoTransferCharacteristics = "HLG",
|
||||
AudioFormat = "DTS",
|
||||
AudioChannels = 6,
|
||||
AudioChannelPositions = "3/2/0.1",
|
||||
|
Loading…
Reference in New Issue
Block a user