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
6343A phaser filter creates series of peaks and troughs in the frequency spectrum.6343A phaser filter creates series of peaks and troughs in the frequency spectrum.
6344The position of the peaks and troughs are modulated so that they vary over time, creating a sweeping effect.6344The position of the peaks and troughs are modulated so that they vary over time, creating a sweeping effect.
6345 6345
6346The filter accepts parameters as a list of @var{key}=@var{value}
6347pairs, separated by ":".
6348
6349A description of the accepted parameters follows.6346A description of the accepted parameters follows.
6350 6347
6351@table @option6348@table @option
libavfilter/af_aphaser.c+0−3
@@ -344,8 +344,6 @@ static const AVFilterPad aphaser_outputs[] = { · 343 unmodified lines
344 { NULL }344 { NULL }
345};345};
346 346
347static const char *const shorthand[] = { "in_gain", "out_gain", "delay", "decay", "speed", "type", NULL };
348
349AVFilter avfilter_af_aphaser = {347AVFilter avfilter_af_aphaser = {
350 .name = "aphaser",348 .name = "aphaser",
351 .description = NULL_IF_CONFIG_SMALL("Add a phasing effect to the audio."),349 .description = NULL_IF_CONFIG_SMALL("Add a phasing effect to the audio."),
@@ -356,5 +354,4 @@ AVFilter avfilter_af_aphaser = { · 4 unmodified lines
356 .inputs = aphaser_inputs,354 .inputs = aphaser_inputs,
357 .outputs = aphaser_outputs,355 .outputs = aphaser_outputs,
358 .priv_class = &aphaser_class,356 .priv_class = &aphaser_class,
359 .shorthand = shorthand,
360};357};
libavfilter/avfilter.c+1−0
@@ -659,6 +659,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 658 unmodified lines
659 !strcmp(filter->filter->name, "afade" ) ||659 !strcmp(filter->filter->name, "afade" ) ||
660 !strcmp(filter->filter->name, "aformat") ||660 !strcmp(filter->filter->name, "aformat") ||
661 !strcmp(filter->filter->name, "apad" ) ||661 !strcmp(filter->filter->name, "apad" ) ||
662 !strcmp(filter->filter->name, "aphaser" ) ||
662 !strcmp(filter->filter->name, "ass") ||663 !strcmp(filter->filter->name, "ass") ||
663 !strcmp(filter->filter->name, "blackframe") ||664 !strcmp(filter->filter->name, "blackframe") ||
664 !strcmp(filter->filter->name, "blend" ) ||665 !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