]> granicus.if.org Git - handbrake/commitdiff
rendersub: fix *very* occasional blinking subtitle text
authorjstebbins <jstebbins.hb@gmail.com>
Tue, 16 Sep 2014 21:38:07 +0000 (21:38 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Tue, 16 Sep 2014 21:38:07 +0000 (21:38 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6409 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/rendersub.c

index 6d0772f22cce3cb99ff7cbbbd418b42dccc1bf9b..4d085bd9b8f7b14bbb7c6ee0b715da35957decb4 100644 (file)
@@ -690,7 +690,7 @@ static int textsub_work(hb_filter_object_t * filter,
             hb_buffer_close(&sub);
         }
     }
-    if (pv->current_sub != NULL && pv->current_sub->s.start < in->s.start)
+    if (pv->current_sub != NULL && pv->current_sub->s.start <= in->s.start)
     {
         // We don't know the duration of this subtitle, but we know
         // that it started before the current video frame and that