diff options
| author | MrTimscampi <julien.machiels@protonmail.com> | 2020-05-14 18:11:32 +0200 |
|---|---|---|
| committer | MrTimscampi <julien.machiels@protonmail.com> | 2020-05-14 18:11:32 +0200 |
| commit | 428e1b04fc942b66dafaa04081d3b9dc5de62f1d (patch) | |
| tree | bc873ea452b2930009ca0a6c1a6168526bee7aea /MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs | |
| parent | 5ce008e02f0500c5d0298067fa401a740742e3f0 (diff) | |
Add color transfer to ffprobe results
Diffstat (limited to 'MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs')
| -rw-r--r-- | MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs index b24d97f4e..41daa22d6 100644 --- a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs +++ b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs @@ -695,6 +695,11 @@ namespace MediaBrowser.MediaEncoding.Probing { stream.RefFrames = streamInfo.Refs; } + + if (!string.IsNullOrEmpty(streamInfo.ColorTransfer)) + { + stream.ColorTransfer = streamInfo.ColorTransfer; + } } else { |
