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
beda4188
Commit
beda4188
authored
May 27, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/channelmap: make use of AVFILTER_DEFINE_CLASS
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
6008b5ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
af_channelmap.c
libavfilter/af_channelmap.c
+2
-7
No files found.
libavfilter/af_channelmap.c
View file @
beda4188
...
@@ -69,7 +69,7 @@ typedef struct ChannelMapContext {
...
@@ -69,7 +69,7 @@ typedef struct ChannelMapContext {
#define OFFSET(x) offsetof(ChannelMapContext, x)
#define OFFSET(x) offsetof(ChannelMapContext, x)
#define A AV_OPT_FLAG_AUDIO_PARAM
#define A AV_OPT_FLAG_AUDIO_PARAM
#define F AV_OPT_FLAG_FILTERING_PARAM
#define F AV_OPT_FLAG_FILTERING_PARAM
static
const
AVOption
options
[]
=
{
static
const
AVOption
channelmap_
options
[]
=
{
{
"map"
,
"A comma-separated list of input channel numbers in output order."
,
{
"map"
,
"A comma-separated list of input channel numbers in output order."
,
OFFSET
(
mapping_str
),
AV_OPT_TYPE_STRING
,
.
flags
=
A
|
F
},
OFFSET
(
mapping_str
),
AV_OPT_TYPE_STRING
,
.
flags
=
A
|
F
},
{
"channel_layout"
,
"Output channel layout."
,
{
"channel_layout"
,
"Output channel layout."
,
...
@@ -77,12 +77,7 @@ static const AVOption options[] = {
...
@@ -77,12 +77,7 @@ static const AVOption options[] = {
{
NULL
},
{
NULL
},
};
};
static
const
AVClass
channelmap_class
=
{
AVFILTER_DEFINE_CLASS
(
channelmap
);
.
class_name
=
"channel map filter"
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
};
static
char
*
split
(
char
*
message
,
char
delim
)
{
static
char
*
split
(
char
*
message
,
char
delim
)
{
char
*
next
=
strchr
(
message
,
delim
);
char
*
next
=
strchr
(
message
,
delim
);
...
...
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