summaryrefslogtreecommitdiffstats
path: root/libass/ass_parse.c
diff options
context:
space:
mode:
authorOleg Oshmyan <chortos@inbox.lv>2020-10-17 02:38:49 +0300
committerOleg Oshmyan <chortos@inbox.lv>2020-10-18 05:03:17 +0300
commit0aec12b3576e93f8387992de73bca99ab6e50d2f (patch)
treebd5e8fe9d5e250200c264179596b5345c0e570df /libass/ass_parse.c
parentcc2b5e9e4829ca0487ea3707e2e77219c99975c8 (diff)
downloadlibass-0aec12b3576e93f8387992de73bca99ab6e50d2f.tar.bz2
libass-0aec12b3576e93f8387992de73bca99ab6e50d2f.tar.xz
Fix Scroll effects with rectangle \clip/\iclip
Diffstat (limited to 'libass/ass_parse.c')
-rw-r--r--libass/ass_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libass/ass_parse.c b/libass/ass_parse.c
index 920b035..4134987 100644
--- a/libass/ass_parse.c
+++ b/libass/ass_parse.c
@@ -943,8 +943,8 @@ void apply_transition_effects(ASS_Renderer *render_priv, ASS_Event *event)
y0 = v[1];
y1 = v[0];
}
- render_priv->state.clip_y0 = y0;
- render_priv->state.clip_y1 = y1;
+ render_priv->state.scroll_y0 = y0;
+ render_priv->state.scroll_y1 = y1;
render_priv->state.evt_type |= EVENT_VSCROLL;
render_priv->state.detect_collisions = 0;
}