diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-26 04:06:19 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-26 04:06:19 +0100 |
commit | b5e0e327ceb738c1d329f741e731f77eea8c976a (patch) | |
tree | 2dc5cbf9c130d525d2dde408a722a71b9ab78f36 /ffmpeg_opt.c | |
parent | 4bd6d73fc8d4bc367668f2770d92a06b0c79146d (diff) | |
download | ffmpeg-b5e0e327ceb738c1d329f741e731f77eea8c976a.tar.gz |
ffmpeg: fix swr filter_type for auto inserted aresample filters
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r-- | ffmpeg_opt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 612bdc65fb..df85230805 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -1015,6 +1015,7 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e st->codec->flags |= CODEC_FLAG_GLOBAL_HEADER; av_opt_get_int(sws_opts, "sws_flags", 0, &ost->sws_flags); + av_opt_get_int (swr_opts, "filter_type" , 0, &ost->swr_filter_type); av_opt_get_int (swr_opts, "dither_method", 0, &ost->swr_dither_method); av_opt_get_double(swr_opts, "dither_scale" , 0, &ost->swr_dither_scale); |