Skip to content

Commit

Permalink
Don't set color prim to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattBlue committed Jul 29, 2024
1 parent 1f957a6 commit 6dd9b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto_editor/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def mux_quality_media(
cmd.extend(["-color_range", f"{color_range}"])
if colorspace in (0, 1) or (colorspace >= 3 and colorspace < 16):
cmd.extend(["-colorspace", f"{colorspace}"])
if color_prim in (0, 1) or (color_prim >= 4 and color_prim < 17):
if color_prim == 1 or (color_prim >= 4 and color_prim < 17):
cmd.extend(["-color_primaries", f"{color_prim}"])
if color_trc == 1 or (color_trc >= 4 and color_trc < 22):
cmd.extend(["-color_trc", f"{color_trc}"])
Expand Down

0 comments on commit 6dd9b13

Please sign in to comment.