History

lavfi/aphaser: switch to AVOption-based system

Matthieu Bouron committed 13 years ago

Commit f43da3d1 parent a5ce5ac3 files · +1 −6Browse files

Unified · Split

3 files
  1. doc/filters.texi +0 −3
  2. libavfilter/af_aphaser.c +0 −3
  3. libavfilter/avfilter.c +1 −0
doc/filters.texi+0−3
@@ -6343,9 +6343,6 @@ Add a phasing effect to the input audio. · 6342 unmodified lines
63436343 A phaser filter creates series of peaks and troughs in the frequency spectrum.
63446344 The position of the peaks and troughs are modulated so that they vary over time, creating a sweeping effect.
63456345
6346−The filter accepts parameters as a list of @var{key}=@var{value}
6347−pairs, separated by ":".
6348−
63496346 A description of the accepted parameters follows.
63506347
63516348 @table @option
libavfilter/af_aphaser.c+0−3
@@ -344,8 +344,6 @@ static const AVFilterPad aphaser_outputs[] = { · 343 unmodified lines
344344 { NULL }
345345 };
346346
347−static const char *const shorthand[] = { "in_gain", "out_gain", "delay", "decay", "speed", "type", NULL };
348−
349347 AVFilter avfilter_af_aphaser = {
350348 .name = "aphaser",
351349 .description = NULL_IF_CONFIG_SMALL("Add a phasing effect to the audio."),
@@ -356,5 +354,4 @@ AVFilter avfilter_af_aphaser = { · 4 unmodified lines
356354 .inputs = aphaser_inputs,
357355 .outputs = aphaser_outputs,
358356 .priv_class = &aphaser_class,
359− .shorthand = shorthand,
360357 };
libavfilter/avfilter.c+1−0
@@ -659,6 +659,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 658 unmodified lines
659659 !strcmp(filter->filter->name, "afade" ) ||
660660 !strcmp(filter->filter->name, "aformat") ||
661661 !strcmp(filter->filter->name, "apad" ) ||
662+ !strcmp(filter->filter->name, "aphaser" ) ||
662663 !strcmp(filter->filter->name, "ass") ||
663664 !strcmp(filter->filter->name, "blackframe") ||
664665 !strcmp(filter->filter->name, "blend" ) ||

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t