mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix suggestions
This commit is contained in:
parent
2e18142bb3
commit
9314434bbf
@ -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; }
|
||||||
}
|
}
|
||||||
|
@ -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";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user