summaryrefslogtreecommitdiffstats
path: root/libhb/sync.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-05-18 09:06:47 -0600
committerJohn Stebbins <[email protected]>2016-05-18 09:06:47 -0600
commitd9b40db8b08713c2126c2a34cbd63ab1c3b3efd7 (patch)
treeb10cecaa7ddcee6c933a6455d4dae50b716a0816 /libhb/sync.c
parentd5466b790db38c0e50a7782aaece9db6ca85a8a9 (diff)
sync: handle coarsely interleaved streams better
... by allowing a deeper initial buffer when looking for the fist PTS of each stream.
Diffstat (limited to 'libhb/sync.c')
-rw-r--r--libhb/sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/sync.c b/libhb/sync.c
index 3c5cb4575..2f6616fde 100644
--- a/libhb/sync.c
+++ b/libhb/sync.c
@@ -12,12 +12,12 @@
#include <stdio.h>
#include "samplerate.h"
-#define SYNC_MAX_VIDEO_QUEUE_LEN 20
+#define SYNC_MAX_VIDEO_QUEUE_LEN 40
#define SYNC_MIN_VIDEO_QUEUE_LEN 12
// Audio is small, buffer a lot. It helps to ensure that we see
// the initial PTS from all input streams before setting the 'zero' point.
-#define SYNC_MAX_AUDIO_QUEUE_LEN 60
+#define SYNC_MAX_AUDIO_QUEUE_LEN 100
#define SYNC_MIN_AUDIO_QUEUE_LEN 30
// We do not place a limit on the number of subtitle frames