Skip to content

Commit

Permalink
Fix bore plane values
Browse files Browse the repository at this point in the history
  • Loading branch information
Setsugennoao committed Jul 5, 2024
1 parent 88f721c commit d1c37cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsadjust/borders.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __call__(
) -> vs.VideoNode:
func = FunctionUtil(clip, self.__class__, planes, vs.YUV, 32)

values = list(map(func.norm_seq, (left, right, top, bottom)))
values = list(zip(*map(func.norm_seq, (left, right, top, bottom))))

if any(x < 0 for x in chain(*values)):
raise CustomValueError('Negative values are not allowed!', func.func)
Expand Down

0 comments on commit d1c37cf

Please sign in to comment.