Commit ae6634da authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'b13623e1'

* commit 'b13623e1':
  af_volume: switch to an AVOptions-based system.
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 8905a811 b13623e1
......@@ -287,16 +287,13 @@ static const AVFilterPad avfilter_af_volume_outputs[] = {
{ NULL }
};
static const char *const shorthand[] = { "volume", "precision", NULL };
AVFilter avfilter_af_volume = {
.name = "volume",
.description = NULL_IF_CONFIG_SMALL("Change input volume."),
.query_formats = query_formats,
.priv_size = sizeof(VolumeContext),
.priv_class = &volume_class,
.init = init,
.inputs = avfilter_af_volume_inputs,
.outputs = avfilter_af_volume_outputs,
.priv_class = &volume_class,
.shorthand = shorthand,
};
......@@ -733,6 +733,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!strcmp(filter->filter->name, "unsharp" ) ||
// !strcmp(filter->filter->name, "scale" ) ||
!strcmp(filter->filter->name, "select") ||
!strcmp(filter->filter->name, "volume" ) ||
!strcmp(filter->filter->name, "yadif" ) ||
0
;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment