From dbfe2cd3176268b66a372d171ee5af09a2825afa Mon Sep 17 00:00:00 2001 From: Oleg Oshmyan Date: Sun, 19 Jan 2014 00:18:19 +0000 Subject: Start \k, \ko at exact start time, not right after it --- libass/ass_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3