From 12d466201cc6c924629db6b9371040a3179bcc82 Mon Sep 17 00:00:00 2001 From: LightArrowsEXE Date: Wed, 2 Oct 2024 20:46:31 +0200 Subject: [PATCH] BorderHandling: Remove unnecessary padder statement Fixed in https://github.com/Jaded-Encoding-Thaumaturgy/vs-tools/pull/140 --- vskernels/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vskernels/types.py b/vskernels/types.py index 4d043bb..7472990 100644 --- a/vskernels/types.py +++ b/vskernels/types.py @@ -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)