add Tonemapping relaying on nvdec and ocl

This commit is contained in:
nyanmisaka
2020-07-25 00:57:34 +08:00
parent f5a3cc654f
commit 7b862bba5a
5 changed files with 166 additions and 14 deletions

View File

@@ -703,6 +703,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;