aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2014-05-10 13:20:56 +0200
committerMarton Balint <cus@passwd.hu>2014-05-17 13:18:28 +0200
commitae6fe159f2990c3c0921805a932b7772906a8df4 (patch)
tree50272cd505e281d5c0044adb8d2941450056fc72 /ffplay.c
parent4c49d0824a10b319c021a1df90abab5a45a644dc (diff)
downloadffmpeg-ae6fe159f2990c3c0921805a932b7772906a8df4.tar.gz
ffplay: increase AV_SYNC_THRESHOLD_MIN to 0.04
Less than 0.04 sec delays should not be noticable, and it helps us with 50fps content where some timing errors can cause a frame dup where it is not really necessary. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 86b9126ab2..588aff58f6 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -72,7 +72,7 @@ const int program_birth_year = 2003;
#define SDL_AUDIO_BUFFER_SIZE 1024
/* no AV sync correction is done if below the minimum AV sync threshold */
-#define AV_SYNC_THRESHOLD_MIN 0.01
+#define AV_SYNC_THRESHOLD_MIN 0.04
/* AV sync correction is done if above the maximum AV sync threshold */
#define AV_SYNC_THRESHOLD_MAX 0.1
/* If a frame duration is longer than this, it will not be duplicated to compensate AV sync */