diff options
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r-- | ffmpeg_opt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index bba9dba5de..c4b886bf0e 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -1008,6 +1008,8 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e if (ost->enc && av_get_exact_bits_per_sample(ost->enc->id) == 24) ost->swr_dither_scale = ost->swr_dither_scale*256; + 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]; |