summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/sync.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/sync.c b/libhb/sync.c
index f199feff8..ac30f7e28 100644
--- a/libhb/sync.c
+++ b/libhb/sync.c
@@ -554,6 +554,11 @@ static void dejitterVideo( sync_stream_t * stream )
if (ABS(duration - frame_duration) < 1.1)
{
// Ignore small jitter
+ buf->s.start = stream->next_pts + frame_duration;
+ buf = hb_list_item(stream->in_queue, 0);
+ buf->s.start = stream->next_pts;
+ buf->s.duration = frame_duration;
+ buf->s.stop = stream->next_pts + frame_duration;
return;
}