[FFmpeg-cvslog] ffmpeg: disable audio volume insertion on the output side.

Michael Niedermayer git at videolan.org
Mon Jun 4 16:03:49 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jun  4 15:46:59 2012 +0200| [02ff89a1cdd91639f923ffa46be5dd39998cb901] | committer: Michael Niedermayer

ffmpeg: disable audio volume insertion on the output side.

This fixes -vol leading to 2 inserted volume filters

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

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

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

diff --git a/ffmpeg.c b/ffmpeg.c
index 600da6d..ab5524c 100644
--- 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.);



More information about the ffmpeg-cvslog mailing list