Skip to content

Commit

Permalink
Add missing get_y in descale_field
Browse files Browse the repository at this point in the history
This is to match 1:1 the old behaviour
  • Loading branch information
Setsugennoao committed Oct 29, 2023
1 parent 32bd20e commit ea9d2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsscale/descale.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def descale_fields(
print(DeprecationWarning('descale_fields: Passing a tuple for src_top/left was a bad workaround!'))
src_left, src_top = src_left[0] if slt else src_left, src_top[0] if stt else src_top

clip = kernel.descale(clip, width, height, (src_top, src_left))
clip = kernel.descale(get_y(clip), width, height, (src_top, src_left))

if debug:
return clip.std.SetFrameProp('scaler', data=f'{kernel.__class__.__name__} (Fields)')
Expand Down

0 comments on commit ea9d2be

Please sign in to comment.