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; } public string ColorTransfer { get; set; }
/// <summary> /// <summary>
/// Gets or sets the color transfer. /// Gets or sets the color primaries.
/// </summary> /// </summary>
/// <value>The color transfer.</value> /// <value>The color primaries.</value>
[JsonPropertyName("color_primaries")] [JsonPropertyName("color_primaries")]
public string ColorPrimaries { get; set; } public string ColorPrimaries { get; set; }
} }

View File

@ -92,7 +92,7 @@ namespace MediaBrowser.Model.Entities
var colorTransfer = ColorTransfer; var colorTransfer = ColorTransfer;
if (string.Equals(colorTransfer, "smpte2084", StringComparison.OrdinalIgnoreCase) 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"; return "HDR";
} }