Skip to content

Commit

Permalink
Kernel: Properly pass src instead of clip to shift (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE authored May 20, 2024
1 parent eec624d commit 0e28a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vskernels/kernels/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def shift(
n_planes = clip.format.num_planes

def _shift(src: vs.VideoNode, shift: tuple[TopShift, LeftShift] = (0, 0)) -> vs.VideoNode:
return Scaler.scale(self, clip, **kwargs)
return Scaler.scale(self, src, **kwargs)

if not shifts_or_top and not shift_left:
return _shift(clip)
Expand Down

0 comments on commit 0e28a90

Please sign in to comment.