diff options
Diffstat (limited to 'libhb/sync.c')
-rw-r--r-- | libhb/sync.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/sync.c b/libhb/sync.c index fb02b1387..a0dfd6627 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -418,8 +418,11 @@ static void SyncVideo( hb_work_object_t * w ) */ if( sub->size == 0 || sub->start < cur->start ) { + uint64_t duration; + duration = sub->stop - sub->start; sub = hb_fifo_get( subtitle->fifo_raw ); sub->start = pv->next_start; + sub->stop = sub->start + duration; hb_fifo_push( subtitle->fifo_out, sub ); } else { sub = NULL; |