diff --git a/MediaBrowser.MediaEncoding/Probing/MediaStreamInfo.cs b/MediaBrowser.MediaEncoding/Probing/MediaStreamInfo.cs
index fa51e61a26..d7b0e0e644 100644
--- a/MediaBrowser.MediaEncoding/Probing/MediaStreamInfo.cs
+++ b/MediaBrowser.MediaEncoding/Probing/MediaStreamInfo.cs
@@ -285,5 +285,12 @@ namespace MediaBrowser.MediaEncoding.Probing
/// The color transfer.
[JsonPropertyName("color_transfer")]
public string ColorTransfer { get; set; }
+
+ ///
+ /// Gets or sets the color transfer.
+ ///
+ /// The color transfer.
+ [JsonPropertyName("color_primaries")]
+ public string ColorPrimaries { get; set; }
}
}
diff --git a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
index 41daa22d6d..d3f8094b94 100644
--- a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
+++ b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
@@ -700,6 +700,11 @@ namespace MediaBrowser.MediaEncoding.Probing
{
stream.ColorTransfer = streamInfo.ColorTransfer;
}
+
+ if (!string.IsNullOrEmpty(streamInfo.ColorPrimaries))
+ {
+ stream.ColorPrimaries = streamInfo.ColorPrimaries;
+ }
}
else
{