History

lavfi/sine: switch to an AVOptions-based system.

Clément Bœsch committed 13 years ago

Commit bca4caf1 parent 9ceb7bd3 files · +2 −8Browse files

Showing the changes to libavfilter (2 of 3 files). Show all

Unified · Split

2 files
  1. libavfilter/asrc_sine.c +0 −3
  2. libavfilter/avfilter.c +1 −0
libavfilter/asrc_sine.c+0−3
@@ -210,8 +210,6 @@ static const AVFilterPad sine_outputs[] = { · 209 unmodified lines
210 { NULL }210 { NULL }
211};211};
212 212
213static const char *const shorthand[] = { "frequency", "beep_factor", NULL };
214
215AVFilter avfilter_asrc_sine = {213AVFilter avfilter_asrc_sine = {
216 .name = "sine",214 .name = "sine",
217 .description = NULL_IF_CONFIG_SMALL("Generate sine wave audio signal."),215 .description = NULL_IF_CONFIG_SMALL("Generate sine wave audio signal."),
@@ -222,5 +220,4 @@ AVFilter avfilter_asrc_sine = { · 4 unmodified lines
222 .inputs = NULL,220 .inputs = NULL,
223 .outputs = sine_outputs,221 .outputs = sine_outputs,
224 .priv_class = &sine_class,222 .priv_class = &sine_class,
225 .shorthand = shorthand,
226};223};
libavfilter/avfilter.c+1−0
@@ -752,6 +752,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 751 unmodified lines
752 !strcmp(filter->filter->name, "settb" ) ||752 !strcmp(filter->filter->name, "settb" ) ||
753 !strcmp(filter->filter->name, "showspectrum") ||753 !strcmp(filter->filter->name, "showspectrum") ||
754 !strcmp(filter->filter->name, "silencedetect") ||754 !strcmp(filter->filter->name, "silencedetect") ||
755 !strcmp(filter->filter->name, "sine" ) ||
755 !strcmp(filter->filter->name, "smartblur") ||756 !strcmp(filter->filter->name, "smartblur") ||
756 !strcmp(filter->filter->name, "split" ) ||757 !strcmp(filter->filter->name, "split" ) ||
757 !strcmp(filter->filter->name, "stereo3d" ) ||758 !strcmp(filter->filter->name, "stereo3d" ) ||

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