]> git.sesse.net Git - ffmpeg/commitdiff
ffmpeg: disable autoinsertion for -async on the output side of the filtergraph.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 30 May 2012 13:55:31 +0000 (15:55 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 30 May 2012 13:55:31 +0000 (15:55 +0200)
This fixes the issue that since the last merge -async caused 2 aresample
filters to be inserted
users that generate funny timestamps in a filtergraph should probably
manually insert a aresample filter where they need it.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index 24dc225e1cef0f5cd94b910b3c236b84511412e9..a97327b65b7cb3cdc4e84f9be6c48a05c1eb77a1 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1063,7 +1063,7 @@ static int configure_output_audio_filter(FilterGraph *fg, OutputFilter *ofilter,
     pad_idx = 0;                                                            \
 } while (0)
 
-    if (audio_sync_method > 0) {
+    if (audio_sync_method > 0 && 0) {
         char args[256] = {0};
 
         av_strlcatf(args, sizeof(args), "min_comp=0.001:min_hard_comp=%f", audio_drift_threshold);