Skip to content

Commit

Permalink
Eedi3: Make opt check an elif
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE committed Sep 3, 2024
1 parent a89805e commit f32fca9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vsaa/antialiasers/eedi3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f32fca9

Please sign in to comment.