ffmpeg: disable audio volume insertion on the output side.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Jun 2012 13:46:59 +0000 (15:46 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Jun 2012 13:49:03 +0000 (15:49 +0200)
This fixes -vol leading to 2 inserted volume filters

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

index 600da6d..ab5524c 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1086,7 +1086,7 @@ static int configure_output_audio_filter(FilterGraph *fg, OutputFilter *ofilter,
         AUTO_INSERT_FILTER("-async", "aresample", args);
     }
 
-    if (audio_volume != 256) {
+    if (audio_volume != 256 && 0) {
         char args[256];
 
         snprintf(args, sizeof(args), "%f", audio_volume / 256.);