diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-06-19 14:44:55 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-07-28 16:37:16 +0200 |
commit | 8cbf229c941b3c77a756bff05d0ceb5f4f2219c5 (patch) | |
tree | b8da0e8d1f9aaaf2bfc446934535777692b52ffc /fftools/ffmpeg_filter.c | |
parent | a04d83181acf67c408f93092da27278be1d2c4a3 (diff) |
fftools/ffmpeg: drop the -vol option
It has been deprecated in favor of the volume filter since 2012.
Diffstat (limited to 'fftools/ffmpeg_filter.c')
-rw-r--r-- | fftools/ffmpeg_filter.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index f715ecb6b6..6807bf384a 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -913,16 +913,6 @@ static int configure_input_audio_filter(FilterGraph *fg, InputFilter *ifilter, // av_bprint_finalize(&pan_buf, NULL); // } - if (audio_volume != 256) { - char args[256]; - - av_log(NULL, AV_LOG_WARNING, "-vol has been deprecated. Use the volume " - "audio filter instead.\n"); - - snprintf(args, sizeof(args), "%f", audio_volume / 256.); - AUTO_INSERT_FILTER_INPUT("-vol", "volume", args); - } - snprintf(name, sizeof(name), "trim for input stream %d:%d", ist->file_index, ist->st->index); if (copy_ts) { |