summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-04 15:46:59 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-04 15:49:03 +0200
commit02ff89a1cdd91639f923ffa46be5dd39998cb901 (patch)
tree62a94fd98f16652750995a5535ce5a3245580f33
parentb0f6df28de4f78decd0acec88d860e1719ea8b05 (diff)
ffmpeg: disable audio volume insertion on the output side.
This fixes -vol leading to 2 inserted volume filters Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 600da6dbc5..ab5524c126 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.);