From 71b977f58afecb1b4ab36310caec1eaa1ae5d3a0 Mon Sep 17 00:00:00 2001
From: John Stebbins <jstebbins.hb@gmail.com>
Date: Mon, 15 Feb 2016 15:01:11 -0700
Subject: [PATCH] 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.
---
 libhb/sync.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.
-- 
2.40.0