From db71691c6657a6e37318b8b130a41b38266f2099 Mon Sep 17 00:00:00 2001 From: louis Date: Thu, 15 Apr 2021 10:03:43 -0400 Subject: [PATCH] vivy: common: dammit varde export your types --- Vivy/vivy_common/filter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Vivy/vivy_common/filter.py b/Vivy/vivy_common/filter.py index dd34ec4..70b32d5 100644 --- a/Vivy/vivy_common/filter.py +++ b/Vivy/vivy_common/filter.py @@ -42,7 +42,9 @@ def denoise(clip: vs.VideoNode) -> vs.VideoNode: def deband(clip: vs.VideoNode) -> vs.VideoNode: - return vdf.dumb3kdb(clip, radius=18, threshold=36, grain=[24, 0]) + deb = vdf.dumb3kdb(clip, radius=18, threshold=36, grain=[24, 0]) + assert isinstance(deb, vs.VideoNode) + return deb def antialias(clip: vs.VideoNode, noaa: Optional[List[Range]] = None) -> vs.VideoNode: