Fix suggestions

This commit is contained in:
MrTimscampi 2020-05-16 17:35:34 +02:00
parent 2e18142bb3
commit 9314434bbf
2 changed files with 3 additions and 3 deletions

View File

@ -287,9 +287,9 @@ namespace MediaBrowser.MediaEncoding.Probing
public string ColorTransfer { get; set; }
/// <summary>
/// Gets or sets the color transfer.
/// Gets or sets the color primaries.
/// </summary>
/// <value>The color transfer.</value>
/// <value>The color primaries.</value>
[JsonPropertyName("color_primaries")]
public string ColorPrimaries { get; set; }
}

View File

@ -92,7 +92,7 @@ namespace MediaBrowser.Model.Entities
var colorTransfer = ColorTransfer;
if (string.Equals(colorTransfer, "smpte2084", StringComparison.OrdinalIgnoreCase)
|| string.Equals(colorTransfer, "arib-std-b67", StringComparison.OrdinalIgnoreCase))
|| string.Equals(colorTransfer, "arib-std-b67", StringComparison.OrdinalIgnoreCase))
{
return "HDR";
}