summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorJohn Stebbins <jstebbins.hb@gmail.com>2016-05-18 09:11:34 -0600
committerJohn Stebbins <jstebbins.hb@gmail.com>2016-05-18 09:11:34 -0600
commite4a613d9db4c0d9818b8f7ee9971683f6ff5f728 (patch)
tree15bbdae03fcf52eec49c0d043ee99a3e3cb466a5 /libhb
parentd9b40db8b08713c2126c2a34cbd63ab1c3b3efd7 (diff)
sync: dejitter larger video jitters
Diffstat (limited to 'libhb')
-rw-r--r--libhb/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/sync.c b/libhb/sync.c
index 2f6616fde..6d4467de7 100644
--- a/libhb/sync.c
+++ b/libhb/sync.c
@@ -426,7 +426,7 @@ static void dejitterVideo( sync_stream_t * stream )
// Only dejitter video that aligns periodically
// with the frame durations.
- if (ABS(duration - ii * frame_duration) < 0.1)
+ if (ABS(duration - ii * frame_duration) < frame_duration / 3)
{
jitter_stop = ii;
}