From: Oleg Oshmyan Date: Sun, 19 Jan 2014 00:18:19 +0000 (+0000) Subject: Start \k, \ko at exact start time, not right after it X-Git-Tag: 0.11.0~37^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dbfe2cd3176268b66a372d171ee5af09a2825afa;p=libass Start \k, \ko at exact start time, not right after it --- diff --git a/libass/ass_parse.c b/libass/ass_parse.c index c74f3b3..c3292c9 100644 --- a/libass/ass_parse.c +++ b/libass/ass_parse.c @@ -966,7 +966,7 @@ void process_karaoke_effects(ASS_Renderer *render_priv) dt = (tm_current - tm_start); if ((s1->effect_type == EF_KARAOKE) || (s1->effect_type == EF_KARAOKE_KO)) { - if (dt > 0) + if (dt >= 0) x = x_end + 1; else x = x_start;