Skip to content

Commit

Permalink
BorderHandling: Remove unnecessary padder statement
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE committed Oct 2, 2024
1 parent b1db617 commit 12d4662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vskernels/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def prepare_clip(self, clip: vs.VideoNode, min_pad: int = 2) -> vs.VideoNode:
case BorderHandling.MIRROR:
return padder.MIRROR(*args)
case BorderHandling.ZERO:
return padder.COLOR(color=False if clip.format.color_family is vs.RGB else (False, None), *args)
return padder.COLOR(*args)
case BorderHandling.REPEAT:
return padder.REPEAT(*args)

Expand Down

0 comments on commit 12d4662

Please sign in to comment.