From 771ef4b5cac89aa985f40786e9eaf82cbdabc888 Mon Sep 17 00:00:00 2001 From: Pao-Ming Lin Date: Tue, 9 Oct 2018 13:15:16 +0800 Subject: [PATCH] Fix KNLMeansCL --- havsfunc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/havsfunc.py b/havsfunc.py index 7ec65f5..d15de14 100644 --- a/havsfunc.py +++ b/havsfunc.py @@ -5064,7 +5064,7 @@ def KNLMeansCL(clip, d=None, a=None, s=None, h=None, wmode=None, wref=None, devi if clip.format.subsampling_w > 0 or clip.format.subsampling_h > 0: return core.knlm.KNLMeansCL(clip, d=d, a=a, s=s, h=h, wmode=wmode, wref=wref, device_type=device_type, device_id=device_id).knlm.KNLMeansCL( - clip, d=d, a=a, s=s, h=h, channels='UV', wmode=wmode, wref=wref, device_type=device_type, device_id=device_id) + channels='UV', d=d, a=a, s=s, h=h, wmode=wmode, wref=wref, device_type=device_type, device_id=device_id) else: return core.knlm.KNLMeansCL(clip, d=d, a=a, s=s, h=h, channels='YUV', wmode=wmode, wref=wref, device_type=device_type, device_id=device_id)