Add color primaries to ffprobe output

This commit is contained in:
MrTimscampi
2020-05-14 18:52:42 +02:00
parent 234292453f
commit 2e18142bb3
2 changed files with 12 additions and 0 deletions

View File

@@ -700,6 +700,11 @@ namespace MediaBrowser.MediaEncoding.Probing
{
stream.ColorTransfer = streamInfo.ColorTransfer;
}
if (!string.IsNullOrEmpty(streamInfo.ColorPrimaries))
{
stream.ColorPrimaries = streamInfo.ColorPrimaries;
}
}
else
{