Skip to content

Commit

Permalink
Kernel: Revert _shift method change
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE committed May 19, 2024
1 parent eec624d commit 7ab4305
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 self.scale_function(src, **self.get_scale_args(src, shift, **kwargs))

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

0 comments on commit 7ab4305

Please sign in to comment.