summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-02-15 15:01:11 -0700
committerJohn Stebbins <[email protected]>2016-02-15 15:02:15 -0700
commit71b977f58afecb1b4ab36310caec1eaa1ae5d3a0 (patch)
treee108d243600e429a7a699e404d84ab861ab374dc
parent69522452e0a1e94482c1a6065e14d1d830088551 (diff)
sync: improve video dejitter
Found a sample that requires 12 frames to detect and fix video jitter. So extend the minimum frame buffer from 10 to 12.
-rw-r--r--libhb/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/sync.c b/libhb/sync.c
index 8a0fa7112..90f360ea6 100644
--- a/libhb/sync.c
+++ b/libhb/sync.c
@@ -13,7 +13,7 @@
#include "samplerate.h"
#define SYNC_MAX_VIDEO_QUEUE_LEN 20
-#define SYNC_MIN_VIDEO_QUEUE_LEN 10
+#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.