diff options
author | Matthieu Bouron <matthieu.bouron@gmail.com> | 2013-04-11 01:22:53 +0200 |
---|---|---|
committer | Matthieu Bouron <matthieu.bouron@gmail.com> | 2013-04-11 01:25:02 +0200 |
commit | 2b17e58163270466a48f1d58bdaecc8e93dffa01 (patch) | |
tree | 26098ed81f22b80e98977ee6ac9ded1df39befb6 | |
parent | 6afed2aec129f42027d2ec3167c34f7b9d4e1fd6 (diff) | |
download | ffmpeg-2b17e58163270466a48f1d58bdaecc8e93dffa01.tar.gz |
lavfi/afade: switch to AVOption-base system
-rw-r--r-- | doc/filters.texi | 3 | ||||
-rw-r--r-- | libavfilter/af_afade.c | 3 | ||||
-rw-r--r-- | libavfilter/avfilter.c | 1 |
3 files changed, 1 insertions, 6 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index a85b0f887f..f43415be4b 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -610,9 +610,6 @@ Beware of clipping when using a positive gain. Apply fade-in/out effect to input audio. -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_afade.c b/libavfilter/af_afade.c index 2ab467489e..a00d0e4da6 100644 --- a/libavfilter/af_afade.c +++ b/libavfilter/af_afade.c @@ -288,8 +288,6 @@ static const AVFilterPad avfilter_af_afade_outputs[] = { { NULL } }; -static const char *const shorthand[] = { NULL }; - AVFilter avfilter_af_afade = { .name = "afade", .description = NULL_IF_CONFIG_SMALL("Fade in/out input audio."), @@ -299,5 +297,4 @@ AVFilter avfilter_af_afade = { .inputs = avfilter_af_afade_inputs, .outputs = avfilter_af_afade_outputs, .priv_class = &afade_class, - .shorthand = shorthand, }; diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index dd4addfb6f..ff5b1fb899 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -656,6 +656,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque AVDictionaryEntry *e; int ret=0; int anton_options = + !strcmp(filter->filter->name, "afade" ) || !strcmp(filter->filter->name, "aformat") || !strcmp(filter->filter->name, "ass") || !strcmp(filter->filter->name, "blackframe") || |