Unified · Split
| @@ -3558,6 +3558,10 @@ Sets the difference coefficient (default: 2.5). 0.0 means mono sound · 3557 unmodified lines | ||
| 3558 | 3558 | Enable clipping. By default is enabled. |
| 3559 | 3559 | @end table |
| 3560 | 3560 | |
| 3561 | +@subsection Commands | |
| 3562 | + | |
| 3563 | +This filter supports the all above options as @ref{commands}. | |
| 3564 | + | |
| 3561 | 3565 | @section firequalizer |
| 3562 | 3566 | Apply FIR Equalization using arbitrary frequency response. |
| 3563 | 3567 | |
| @@ -31,7 +31,7 @@ typedef struct ExtraStereoContext { · 30 unmodified lines | ||
| 31 | 31 | } ExtraStereoContext; |
| 32 | 32 | |
| 33 | 33 | #define OFFSET(x) offsetof(ExtraStereoContext, x) |
| 34 | −#define A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM | |
| 34 | +#define A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM | |
| 35 | 35 | |
| 36 | 36 | static const AVOption extrastereo_options[] = { |
| 37 | 37 | { "m", "set the difference coefficient", OFFSET(mult), AV_OPT_TYPE_FLOAT, {.dbl=2.5}, -10, 10, A }, |
| @@ -129,4 +129,5 @@ AVFilter ff_af_extrastereo = { · 91 unmodified lines | ||
| 129 | 129 | .inputs = inputs, |
| 130 | 130 | .outputs = outputs, |
| 131 | 131 | .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, |
| 132 | + .process_command = ff_filter_process_command, | |
| 132 | 133 | }; |