Skip to content

Commit

Permalink
Allow subpixel movement for legacy effects
Browse files Browse the repository at this point in the history
This won't change the movement speed, as the total movement
is recalculated every frame, so this shouldn't negatively affect
VSFilter compatibility; if anything this should slightly improve
compatibility since VSFilter works in a supersampled space.
In any case, it does improves visual quality.
  • Loading branch information
TheOneric committed Sep 15, 2022
1 parent 1db406a commit 5b0dba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libass/ass_render.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ typedef struct {
SCROLL_TB, // top-to-bottom
SCROLL_BT
} scroll_direction; // for EVENT_HSCROLL, EVENT_VSCROLL
int scroll_shift;
double scroll_shift;
int scroll_y0, scroll_y1;

// face properties
Expand Down

0 comments on commit 5b0dba4

Please sign in to comment.