mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 01:54:42 +01:00
Merge remote-tracking branch 'upstream/master' into http-client-migrate
This commit is contained in:
@@ -282,6 +282,20 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
[JsonPropertyName("disposition")]
|
||||
public IReadOnlyDictionary<string, int> Disposition { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the color range.
|
||||
/// </summary>
|
||||
/// <value>The color range.</value>
|
||||
[JsonPropertyName("color_range")]
|
||||
public string ColorRange { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the color space.
|
||||
/// </summary>
|
||||
/// <value>The color space.</value>
|
||||
[JsonPropertyName("color_space")]
|
||||
public string ColorSpace { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the color transfer.
|
||||
/// </summary>
|
||||
|
||||
@@ -714,6 +714,16 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
stream.RefFrames = streamInfo.Refs;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(streamInfo.ColorRange))
|
||||
{
|
||||
stream.ColorRange = streamInfo.ColorRange;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(streamInfo.ColorSpace))
|
||||
{
|
||||
stream.ColorSpace = streamInfo.ColorSpace;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(streamInfo.ColorTransfer))
|
||||
{
|
||||
stream.ColorTransfer = streamInfo.ColorTransfer;
|
||||
|
||||
Reference in New Issue
Block a user