]> granicus.if.org Git - libass/commitdiff
Start \k, \ko at exact start time, not right after it
authorOleg Oshmyan <chortos@inbox.lv>
Sun, 19 Jan 2014 00:18:19 +0000 (00:18 +0000)
committerOleg Oshmyan <chortos@inbox.lv>
Fri, 24 Jan 2014 01:19:53 +0000 (01:19 +0000)
libass/ass_parse.c

index c74f3b305956245d745fdf4d8bf1e71946b45e9d..c3292c9260ba7531f09607b6c2c342bf3e1dd342 100644 (file)
@@ -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;