X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavfilter%2Faf_amerge.c;h=1b29e88757432b5dc4c3498ec19aa38eef58deb5;hb=fa838a0c0f42246623c4501c6b197e16ee9713b4;hp=370578e375cabe7c1ba4bb9ec13784882720ab22;hpb=b7e9eea31f3e60dc506cf52bb78f0d9f679cb3bd;p=ffmpeg diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c index 370578e375c..1b29e887574 100644 --- a/libavfilter/af_amerge.c +++ b/libavfilter/af_amerge.c @@ -46,10 +46,11 @@ typedef struct { } AMergeContext; #define OFFSET(x) offsetof(AMergeContext, x) +#define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM static const AVOption amerge_options[] = { { "inputs", "specify the number of inputs", OFFSET(nb_inputs), - AV_OPT_TYPE_INT, { .dbl = 2 }, 2, SWR_CH_MAX }, + AV_OPT_TYPE_INT, { .dbl = 2 }, 2, SWR_CH_MAX, FLAGS }, {0} }; @@ -334,4 +335,5 @@ AVFilter avfilter_af_amerge = { .request_frame = request_frame, }, { .name = NULL } }, + .priv_class = &amerge_class, };