Skip to content

Commit b5a7769

Browse files
committed
Added missing color range arg for color data transfer util
1 parent 841c963 commit b5a7769

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ff-utils-winforms/Utils/ColorDataUtils.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ public static async Task SetColorData(string path, VideoColorData d)
158158
args.Add($"--colour-matrix 0:{d.ColorMatrixCoeffs}");
159159
args.Add($"--colour-transfer-characteristics 0:{d.ColorTransfer}");
160160
args.Add($"--colour-primaries 0:{d.ColorPrimaries}");
161+
args.Add($"--colour-range 0:{d.ColorRange}");
161162
if (!string.IsNullOrWhiteSpace(d.LumaMax)) args.Add($"--max-luminance 0:{d.LumaMax}");
162163
if (!string.IsNullOrWhiteSpace(d.LumaMin)) args.Add($"--min-luminance 0:{d.LumaMin}");
163164
if (!string.IsNullOrWhiteSpace(d.RedX)) args.Add($"--chromaticity-coordinates 0:{d.RedX},{d.RedY},{d.GreenX},{d.GreenY},{d.BlueX},{d.BlueY}");

0 commit comments

Comments
 (0)