From 6c64da1a37dd887243a500e4f940471d418448e4 Mon Sep 17 00:00:00 2001 From: LightArrowsEXE Date: Sun, 17 Jan 2021 21:11:04 +0100 Subject: [PATCH] sraa: Fix nnedi3cl, eedi3cl calls I should really start actually testing my code lol --- lvsfunc/aa.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lvsfunc/aa.py b/lvsfunc/aa.py index f7e03461..3e84cc7d 100644 --- a/lvsfunc/aa.py +++ b/lvsfunc/aa.py @@ -246,8 +246,8 @@ def upscaled_sraa(clip: vs.VideoNode, nnedi3cl = fallback(nnedi3cl, opencl) eedi3cl = fallback(eedi3cl, opencl) - nnedi3 = core.nnedi3cl.NNEDI3CL if nnedi3_cl else core.nnedi3.nnedi3 - eedi3 = core.eedi3m.EEDI3CL if eedi3_cl else core.eedi3m.EEDI3 + nnedi3 = core.nnedi3cl.NNEDI3CL if nnedi3cl else core.nnedi3.nnedi3 + eedi3 = core.eedi3m.EEDI3CL if eedi3cl else core.eedi3m.EEDI3 # Nnedi3 upscale from source height to source height * rounding (Default 1.5) up_y = nnedi3(luma, 0, 1, 0, **nnargs)