summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg_opt.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-03 13:54:45 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-03 16:08:19 +0200
commitf3f9041302203e458d720028e6f82fb4fb51d8e1 (patch)
tree0183cefb31bbc6bebbca008a58e9c5ba0c9367bb /fftools/ffmpeg_opt.c
parent11d39873abcddf2f1aad2cdfadccbdb41b80d5af (diff)
fftools: Remove remnants of resample_opts
These were intended to pass options to auto-inserted avresample resampling filters. Yet FFmpeg uses swresample for this purpose (with its own AVDictionary swr_opts similar to resample_opts). Therefore said options were not forwarded any more since commit 911417f0b34e611bf084319c5b5a4e4e630da940; moreover since commit 420cedd49745b284c35d97b936b71ff79b43bdf7 avresample options are not even recognized and ignored any more. Yet there are still remnants of all of this. This commit gets rid of them. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'fftools/ffmpeg_opt.c')
-rw-r--r--fftools/ffmpeg_opt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index 428934a3d8..bd8f26ce2f 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -1628,8 +1628,6 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e
if (ost->enc && av_get_exact_bits_per_sample(ost->enc->id) == 24)
av_dict_set(&ost->swr_opts, "output_sample_bits", "24", 0);
- av_dict_copy(&ost->resample_opts, o->g->resample_opts, 0);
-
ost->source_index = source_index;
if (source_index >= 0) {
ost->sync_ist = input_streams[source_index];