Commit 3f24e744 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_asoftclip: add support for commands

parent d8429981
......@@ -2257,6 +2257,10 @@ It accepts the following values:
Set additional parameter which controls sigmoid function.
@end table
@subsection Commands
This filter supports the all above options as @ref{commands}.
@section asr
Automatic Speech Recognition
......
......@@ -46,7 +46,7 @@ typedef struct ASoftClipContext {
} ASoftClipContext;
#define OFFSET(x) offsetof(ASoftClipContext, x)
#define A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
#define A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
static const AVOption asoftclip_options[] = {
{ "type", "set softclip type", OFFSET(type), AV_OPT_TYPE_INT, {.i64=0}, 0, NB_TYPES-1, A, "types" },
......@@ -313,6 +313,7 @@ AVFilter ff_af_asoftclip = {
.priv_class = &asoftclip_class,
.inputs = inputs,
.outputs = outputs,
.process_command = ff_filter_process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
};
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