summaryrefslogtreecommitdiffstats
path: root/libhb/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/sync.c')
-rw-r--r--libhb/sync.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/sync.c b/libhb/sync.c
index 90f360ea6..48d857a61 100644
--- a/libhb/sync.c
+++ b/libhb/sync.c
@@ -986,6 +986,10 @@ static void OutputBuffer( sync_common_t * common )
{
buf->s.start = out_stream->next_pts;
}
+ if (buf->s.stop < out_stream->next_pts)
+ {
+ buf->s.stop = out_stream->next_pts;
+ }
out_stream->next_pts = buf->s.start;
}