diff options
author | Oneric <oneric@oneric.stub> | 2022-09-07 03:13:34 +0200 |
---|---|---|
committer | Oneric <oneric@oneric.stub> | 2022-09-15 18:38:23 +0200 |
commit | 5b0dba4b012f8aa8231125a78fec6b8aabee8bdf (patch) | |
tree | 091ebcfa383c631dfb56fc47050f83b97ba10043 /libass/ass_render.h | |
parent | 1db406a0fea1fee5b3e1a5a5544d7e968a3e0591 (diff) | |
download | libass-5b0dba4b012f8aa8231125a78fec6b8aabee8bdf.tar.bz2 libass-5b0dba4b012f8aa8231125a78fec6b8aabee8bdf.tar.xz |
Allow subpixel movement for legacy effects
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.
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r-- | libass/ass_render.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h index a0b02b3..af1516c 100644 --- a/libass/ass_render.h +++ b/libass/ass_render.h @@ -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 |