There was an error while loading. Please reload this page.
1 parent 005c7f3 commit f2e6e20Copy full SHA for f2e6e20
pvsfunc/pd2v.py
@@ -84,6 +84,8 @@ def deinterlace(self, kernel: functools.partial, verbose=False):
84
mess with the clip data manually after sending it to this class unless you also
85
update the changes on the flags. For an example of this see ceil() and floor().
86
"""
87
+ if not isinstance(self.clip, vs.VideoNode):
88
+ raise TypeError("This is not a clip")
89
if not callable(kernel):
90
raise ValueError("Invalid kernel, must be a callable")
91
if len(kernel.args) > 1:
0 commit comments