From f32fca9d53a33479a3ef300de47b231b70fa7078 Mon Sep 17 00:00:00 2001 From: LightArrowsEXE Date: Tue, 3 Sep 2024 13:57:13 +0200 Subject: [PATCH] Eedi3: Make opt check an elif --- vsaa/antialiasers/eedi3.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vsaa/antialiasers/eedi3.py b/vsaa/antialiasers/eedi3.py index bf2b68a..e0919ec 100644 --- a/vsaa/antialiasers/eedi3.py +++ b/vsaa/antialiasers/eedi3.py @@ -59,9 +59,8 @@ def get_aa_args(self, clip: vs.VideoNode, **kwargs: Any) -> dict[str, Any]: if self.opencl: args |= dict(device=self.device) - - # opt=3 appears to always give reliable speed boosts if mclip is used. - if self.mclip is not None or kwargs.get('mclip'): + elif self.mclip is not None or kwargs.get('mclip'): + # opt=3 appears to always give reliable speed boosts if mclip is used. args |= dict(opt=kwargs.get('opt', self.opt) or 3) return args