[FFmpeg-cvslog] ffmpeg: disable autoinsertion for -async on the output side of the filtergraph.

Michael Niedermayer git at videolan.org
Wed May 30 17:29:19 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May 30 15:55:31 2012 +0200| [96fe99cb11ab10240c30fb2defadd5324c619814] | committer: Michael Niedermayer

ffmpeg: disable autoinsertion for -async on the output side of the filtergraph.

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=96fe99cb11ab10240c30fb2defadd5324c619814
---

 ffmpeg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 24dc225..a97327b 100644
--- 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);



More information about the ffmpeg-cvslog mailing list