diff options
-rw-r--r-- | libhb/sync.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/sync.c b/libhb/sync.c index ca7a4063f..69e6d18e4 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -686,6 +686,10 @@ static void streamFlush( sync_stream_t * stream ) { while (hb_list_count(stream->in_queue) > 0) { + if (!stream->common->found_first_pts) + { + checkFirstPts(stream->common); + } fixStreamTimestamps(stream); hb_buffer_t * buf = hb_list_item(stream->in_queue, 0); if (buf != NULL) |