Skip to content

Commit

Permalink
Fix KNLMeansCL
Browse files Browse the repository at this point in the history
  • Loading branch information
Pao-Ming Lin authored and HolyWu committed Oct 9, 2018
1 parent cbbd0e4 commit 771ef4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion havsfunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 771ef4b

Please sign in to comment.