| @@ -31,7 +31,7 @@ typedef struct ExtraStereoContext { · 30 unmodified lines |
| 31 | } ExtraStereoContext; | 31 | } ExtraStereoContext; |
| 32 | | 32 | |
| 33 | #define OFFSET(x) offsetof(ExtraStereoContext, x) | 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 | static const AVOption extrastereo_options[] = { | 36 | static const AVOption extrastereo_options[] = { |
| 37 | { "m", "set the difference coefficient", OFFSET(mult), AV_OPT_TYPE_FLOAT, {.dbl=2.5}, -10, 10, A }, | 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 | .inputs = inputs, | 129 | .inputs = inputs, |
| 130 | .outputs = outputs, | 130 | .outputs = outputs, |
| 131 | .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, | 131 | .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, |
| | 132 | .process_command = ff_filter_process_command, |
| 132 | }; | 133 | }; |