summaryrefslogtreecommitdiffstats
path: root/libhb/rendersub.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-09-16 21:38:07 +0000
committerjstebbins <[email protected]>2014-09-16 21:38:07 +0000
commit818b4e35b1ef3d9ae450f789735a898dfa4d0cdc (patch)
treee52ef358b87a04a3dba116ebd21f22d115a799b5 /libhb/rendersub.c
parent175bca7f24f6efee927d189122c8f90afea67ee8 (diff)
rendersub: fix *very* occasional blinking subtitle text
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6409 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/rendersub.c')
-rw-r--r--libhb/rendersub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/rendersub.c b/libhb/rendersub.c
index 6d0772f22..4d085bd9b 100644
--- a/libhb/rendersub.c
+++ b/libhb/rendersub.c
@@ -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