mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-23 22:17:15 -04:00
Fixed: Map DV Blu-ray to HDR10 compatibility
This commit is contained in:
parent
52b6f39026
commit
fda1ad237b
2 changed files with 3 additions and 2 deletions
|
@ -22,7 +22,7 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
|
|||
private readonly List<FFProbePixelFormat> _pixelFormats;
|
||||
|
||||
public const int MINIMUM_MEDIA_INFO_SCHEMA_REVISION = 8;
|
||||
public const int CURRENT_MEDIA_INFO_SCHEMA_REVISION = 9;
|
||||
public const int CURRENT_MEDIA_INFO_SCHEMA_REVISION = 10;
|
||||
|
||||
private static readonly string[] ValidHdrColourPrimaries = { "bt2020" };
|
||||
private static readonly string[] HlgTransferFunctions = { "bt2020-10", "arib-std-b67" };
|
||||
|
@ -169,6 +169,7 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
|
|||
1 => HdrFormat.DolbyVisionHdr10,
|
||||
2 => HdrFormat.DolbyVisionSdr,
|
||||
4 => HdrFormat.DolbyVisionHlg,
|
||||
6 => HdrFormat.DolbyVisionHdr10,
|
||||
_ => HdrFormat.DolbyVision
|
||||
};
|
||||
}
|
||||
|
|
|
@ -355,7 +355,7 @@ namespace NzbDrone.Core.Organizer
|
|||
new Dictionary<string, int>(FileNameBuilderTokenEqualityComparer.Instance)
|
||||
{
|
||||
{ MediaInfoVideoDynamicRangeToken, 5 },
|
||||
{ MediaInfoVideoDynamicRangeTypeToken, 9 }
|
||||
{ MediaInfoVideoDynamicRangeTypeToken, 10 }
|
||||
};
|
||||
|
||||
private void AddMediaInfoTokens(Dictionary<string, Func<TokenMatch, string>> tokenHandlers, MovieFile movieFile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue