diff --git a/vstools/functions/funcs.py b/vstools/functions/funcs.py index 78f63da..793698d 100644 --- a/vstools/functions/funcs.py +++ b/vstools/functions/funcs.py @@ -150,7 +150,7 @@ def work_clip(self) -> ConstantFormatVideoNode: def chroma_planes(self) -> list[vs.VideoNode]: """Get a list of all chroma planes in the normalised clip.""" - if self == [0] or self.norm_clip.format.num_planes == 1: + if self != [0] or self.norm_clip.format.num_planes == 1: return [] return [plane(self.norm_clip, i) for i in (1, 2)]