Unified · Split
| @@ -1688,11 +1688,7 @@ Generate an audio signal made of a sine wave with amplitude 1/8. · 1687 unmodified lines | ||
| 1688 | 1688 | |
| 1689 | 1689 | The audio signal is bit-exact. |
| 1690 | 1690 | |
| 1691 | −It accepts a list of options in the form of @var{key}=@var{value} pairs | |
| 1692 | −separated by ":". If the option name is omitted, the first option is the | |
| 1693 | −frequency and the second option is the beep factor. | |
| 1694 | − | |
| 1695 | −The supported options are: | |
| 1691 | +The filter accepts the following options: | |
| 1696 | 1692 | |
| 1697 | 1693 | @table @option |
| 1698 | 1694 | |
| @@ -210,8 +210,6 @@ static const AVFilterPad sine_outputs[] = { · 209 unmodified lines | ||
| 210 | 210 | { NULL } |
| 211 | 211 | }; |
| 212 | 212 | |
| 213 | −static const char *const shorthand[] = { "frequency", "beep_factor", NULL }; | |
| 214 | − | |
| 215 | 213 | AVFilter avfilter_asrc_sine = { |
| 216 | 214 | .name = "sine", |
| 217 | 215 | .description = NULL_IF_CONFIG_SMALL("Generate sine wave audio signal."), |
| @@ -222,5 +220,4 @@ AVFilter avfilter_asrc_sine = { · 4 unmodified lines | ||
| 222 | 220 | .inputs = NULL, |
| 223 | 221 | .outputs = sine_outputs, |
| 224 | 222 | .priv_class = &sine_class, |
| 225 | − .shorthand = shorthand, | |
| 226 | 223 | }; |
| @@ -752,6 +752,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 751 unmodified lines | ||
| 752 | 752 | !strcmp(filter->filter->name, "settb" ) || |
| 753 | 753 | !strcmp(filter->filter->name, "showspectrum") || |
| 754 | 754 | !strcmp(filter->filter->name, "silencedetect") || |
| 755 | + !strcmp(filter->filter->name, "sine" ) || | |
| 755 | 756 | !strcmp(filter->filter->name, "smartblur") || |
| 756 | 757 | !strcmp(filter->filter->name, "split" ) || |
| 757 | 758 | !strcmp(filter->filter->name, "stereo3d" ) || |