diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2020-10-17 00:59:19 +0300 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2020-10-18 05:03:17 +0300 |
commit | 5714f9267d058a29cc13e199e0d3d0f2088d1811 (patch) | |
tree | 3d320a5a5518f68487cd7516fe8c8ccf957d5a41 | |
parent | 5a279a787887c0254f2fa7c94b8d9e4ee7c995ea (diff) | |
download | libass-5714f9267d058a29cc13e199e0d3d0f2088d1811.tar.bz2 libass-5714f9267d058a29cc13e199e0d3d0f2088d1811.tar.xz |
Don't special-case Scroll effect with bigger coordinate = 0
VSFilter does no such thing.
-rw-r--r-- | libass/ass_parse.c | 2 |
1 files changed, 0 insertions, 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; |