From 5714f9267d058a29cc13e199e0d3d0f2088d1811 Mon Sep 17 00:00:00 2001 From: Oleg Oshmyan Date: Sat, 17 Oct 2020 00:59:19 +0300 Subject: Don't special-case Scroll effect with bigger coordinate = 0 VSFilter does no such thing. --- libass/ass_parse.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libass/ass_parse.c b/libass/ass_parse.c index cf52b24..459b8c7 100644 --- a/libass/ass_parse.c +++ b/libass/ass_parse.c @@ -942,8 +942,6 @@ void apply_transition_effects(ASS_Renderer *render_priv, ASS_Event *event) y0 = v[1]; y1 = v[0]; } - if (y1 == 0) - y1 = render_priv->track->PlayResY; // y0=y1=0 means fullscreen scrolling render_priv->state.clip_y0 = y0; render_priv->state.clip_y1 = y1; render_priv->state.evt_type |= EVENT_VSCROLL; -- cgit v1.2.3