summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Oshmyan <chortos@inbox.lv>2014-01-19 00:18:19 +0000
committerOleg Oshmyan <chortos@inbox.lv>2014-01-24 01:19:53 +0000
commitdbfe2cd3176268b66a372d171ee5af09a2825afa (patch)
tree19adcb76d437d9697e783cee1e360e1f96c9fde1
parent97f74166cfc6e2884c405846b030215331c37a75 (diff)
downloadlibass-dbfe2cd3176268b66a372d171ee5af09a2825afa.tar.bz2
libass-dbfe2cd3176268b66a372d171ee5af09a2825afa.tar.xz
Start \k, \ko at exact start time, not right after it
-rw-r--r--libass/ass_parse.c2
1 files changed, 1 insertions, 1 deletions
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;