ffmpeg | branch: master | Paul B Mahol <[email protected]> | Fri Dec 27 20:57:06 2019 +0100| [954637805d64609d1ca370f2cf12d15dfb41b395] | committer: Paul B Mahol
avfilter/af_extrastereo: add support for commands > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=954637805d64609d1ca370f2cf12d15dfb41b395 --- doc/filters.texi | 4 ++++ libavfilter/af_extrastereo.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index a700f7eb74..d09dd38958 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -3558,6 +3558,10 @@ Sets the difference coefficient (default: 2.5). 0.0 means mono sound Enable clipping. By default is enabled. @end table +@subsection Commands + +This filter supports the all above options as @ref{commands}. + @section firequalizer Apply FIR Equalization using arbitrary frequency response. diff --git a/libavfilter/af_extrastereo.c b/libavfilter/af_extrastereo.c index 83eba47410..d8e4da9a93 100644 --- a/libavfilter/af_extrastereo.c +++ b/libavfilter/af_extrastereo.c @@ -31,7 +31,7 @@ typedef struct ExtraStereoContext { } ExtraStereoContext; #define OFFSET(x) offsetof(ExtraStereoContext, 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 extrastereo_options[] = { { "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 = { .inputs = inputs, .outputs = outputs, .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, + .process_command = ff_filter_process_command, }; _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
