[FFmpeg-devel] [PATCH 1/5] ffplay: increase AV_SYNC_THRESHOLD_MIN to 0.04
Marton Balint
cus at passwd.hu
Sat May 10 16:04:05 CEST 2014
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 at passwd.hu>
---
ffplay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffplay.c b/ffplay.c
index 86b9126..588aff58 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 */
--
1.8.4.5
More information about the ffmpeg-devel
mailing list