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
95463780
Commit
95463780
authored
Dec 27, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_extrastereo: add support for commands
parent
fad62eeb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
filters.texi
doc/filters.texi
+4
-0
af_extrastereo.c
libavfilter/af_extrastereo.c
+2
-1
No files found.
doc/filters.texi
View file @
95463780
...
@@ -3558,6 +3558,10 @@ Sets the difference coefficient (default: 2.5). 0.0 means mono sound
...
@@ -3558,6 +3558,10 @@ Sets the difference coefficient (default: 2.5). 0.0 means mono sound
Enable
clipping
.
By
default
is
enabled
.
Enable
clipping
.
By
default
is
enabled
.
@
end
table
@
end
table
@
subsection
Commands
This
filter
supports
the
all
above
options
as
@
ref
{
commands
}.
@
section
firequalizer
@
section
firequalizer
Apply
FIR
Equalization
using
arbitrary
frequency
response
.
Apply
FIR
Equalization
using
arbitrary
frequency
response
.
...
...
libavfilter/af_extrastereo.c
View file @
95463780
...
@@ -31,7 +31,7 @@ typedef struct ExtraStereoContext {
...
@@ -31,7 +31,7 @@ typedef struct ExtraStereoContext {
}
ExtraStereoContext
;
}
ExtraStereoContext
;
#define OFFSET(x) offsetof(ExtraStereoContext, x)
#define OFFSET(x) offsetof(ExtraStereoContext, x)
#define A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
#define A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
|AV_OPT_FLAG_RUNTIME_PARAM
static
const
AVOption
extrastereo_options
[]
=
{
static
const
AVOption
extrastereo_options
[]
=
{
{
"m"
,
"set the difference coefficient"
,
OFFSET
(
mult
),
AV_OPT_TYPE_FLOAT
,
{.
dbl
=
2
.
5
},
-
10
,
10
,
A
},
{
"m"
,
"set the difference coefficient"
,
OFFSET
(
mult
),
AV_OPT_TYPE_FLOAT
,
{.
dbl
=
2
.
5
},
-
10
,
10
,
A
},
...
@@ -129,4 +129,5 @@ AVFilter ff_af_extrastereo = {
...
@@ -129,4 +129,5 @@ AVFilter ff_af_extrastereo = {
.
inputs
=
inputs
,
.
inputs
=
inputs
,
.
outputs
=
outputs
,
.
outputs
=
outputs
,
.
flags
=
AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
,
.
flags
=
AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
,
.
process_command
=
ff_filter_process_command
,
};
};
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