Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
bca4cafa
Commit
bca4cafa
authored
Apr 11, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/sine: switch to an AVOptions-based system.
parent
9ceb7bdf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
8 deletions
+2
-8
filters.texi
doc/filters.texi
+1
-5
asrc_sine.c
libavfilter/asrc_sine.c
+0
-3
avfilter.c
libavfilter/avfilter.c
+1
-0
No files found.
doc/filters.texi
View file @
bca4cafa
...
...
@@ -1688,11 +1688,7 @@ Generate an audio signal made of a sine wave with amplitude 1/8.
The audio signal is bit-exact.
It accepts a list of options in the form of @var{key}=@var{value} pairs
separated by ":". If the option name is omitted, the first option is the
frequency and the second option is the beep factor.
The supported options are:
The filter accepts the following options:
@table @option
...
...
libavfilter/asrc_sine.c
View file @
bca4cafa
...
...
@@ -210,8 +210,6 @@ static const AVFilterPad sine_outputs[] = {
{
NULL
}
};
static
const
char
*
const
shorthand
[]
=
{
"frequency"
,
"beep_factor"
,
NULL
};
AVFilter
avfilter_asrc_sine
=
{
.
name
=
"sine"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Generate sine wave audio signal."
),
...
...
@@ -222,5 +220,4 @@ AVFilter avfilter_asrc_sine = {
.
inputs
=
NULL
,
.
outputs
=
sine_outputs
,
.
priv_class
=
&
sine_class
,
.
shorthand
=
shorthand
,
};
libavfilter/avfilter.c
View file @
bca4cafa
...
...
@@ -752,6 +752,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"settb"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"showspectrum"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"silencedetect"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"sine"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"smartblur"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"split"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"stereo3d"
)
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment