[FFmpeg-cvslog] lavfi/aphaser: switch to AVOption-based system

Matthieu Bouron git at videolan.org
Thu Apr 11 01:58:08 CEST 2013


ffmpeg | branch: master | Matthieu Bouron <matthieu.bouron at gmail.com> | Thu Apr 11 01:37:57 2013 +0200| [f43da3def7645b99d67846fa6d6175b4ece3e9e4] | committer: Matthieu Bouron

lavfi/aphaser: switch to AVOption-based system

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f43da3def7645b99d67846fa6d6175b4ece3e9e4
---

 doc/filters.texi         |    3 ---
 libavfilter/af_aphaser.c |    3 ---
 libavfilter/avfilter.c   |    1 +
 3 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index f43415b..2669804 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -6343,9 +6343,6 @@ Add a phasing effect to the input audio.
 A phaser filter creates series of peaks and troughs in the frequency spectrum.
 The position of the peaks and troughs are modulated so that they vary over time, creating a sweeping effect.
 
-The filter accepts parameters as a list of @var{key}=@var{value}
-pairs, separated by ":".
-
 A description of the accepted parameters follows.
 
 @table @option
diff --git a/libavfilter/af_aphaser.c b/libavfilter/af_aphaser.c
index 141278f..d61715d 100644
--- a/libavfilter/af_aphaser.c
+++ b/libavfilter/af_aphaser.c
@@ -344,8 +344,6 @@ static const AVFilterPad aphaser_outputs[] = {
     { NULL }
 };
 
-static const char *const shorthand[] = { "in_gain", "out_gain", "delay", "decay", "speed", "type", NULL };
-
 AVFilter avfilter_af_aphaser = {
     .name          = "aphaser",
     .description   = NULL_IF_CONFIG_SMALL("Add a phasing effect to the audio."),
@@ -356,5 +354,4 @@ AVFilter avfilter_af_aphaser = {
     .inputs        = aphaser_inputs,
     .outputs       = aphaser_outputs,
     .priv_class    = &aphaser_class,
-    .shorthand     = shorthand,
 };
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 0b4fcb3..99924ed 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -659,6 +659,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
         !strcmp(filter->filter->name,  "afade"     ) ||
         !strcmp(filter->filter->name,  "aformat") ||
         !strcmp(filter->filter->name,  "apad"      ) ||
+        !strcmp(filter->filter->name,  "aphaser"   ) ||
         !strcmp(filter->filter->name,  "ass")     ||
         !strcmp(filter->filter->name,  "blackframe") ||
         !strcmp(filter->filter->name,  "blend"     ) ||



More information about the ffmpeg-cvslog mailing list