Browse Source

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>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
02ff89a1cd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffmpeg.c

+ 1
- 1
ffmpeg.c View File

@@ -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.);


Loading…
Cancel
Save