summaryrefslogtreecommitdiff
path: root/avconv_opt.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-12-18 21:47:28 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2013-02-23 17:07:54 -0500
commit5c7db097ebe1fb5c233cedd8846615074e7d6044 (patch)
tree9863deed4321be6abb111a4f570519f1a7e3e87e /avconv_opt.c
parent9f1223562e134bac6345a465870b9d56ff7d60cf (diff)
avconv: pass libavresample options to AVFilterGraph
Diffstat (limited to 'avconv_opt.c')
-rw-r--r--avconv_opt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/avconv_opt.c b/avconv_opt.c
index e67abefd77..2a40087708 100644
--- a/avconv_opt.c
+++ b/avconv_opt.c
@@ -844,6 +844,8 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e
av_opt_get_int(o->g->sws_opts, "sws_flags", 0, &ost->sws_flags);
+ av_dict_copy(&ost->resample_opts, o->g->resample_opts, 0);
+
ost->pix_fmts[0] = ost->pix_fmts[1] = AV_PIX_FMT_NONE;
return ost;