Fixed BT470M color transfer not working

This commit is contained in:
n00mkrad
2021-07-25 23:22:54 +02:00
parent b95fe6dc0d
commit feafd57eda
5 changed files with 9 additions and 7 deletions

View File

@@ -39,7 +39,7 @@ namespace Flowframes.Media
if (resampleFps.GetFloat() >= 0.1f)
filters.Add($"fps=fps={resampleFps}");
if (extraData.HasAllValues())
if (Config.GetBool(Config.Key.keepColorSpace) && extraData.HasAllValues())
{
Logger.Log($"Applying color transfer ({extraData.colorSpace}).", true, false, "ffmpeg");
filters.Add($"scale=out_color_matrix={extraData.colorSpace}");