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
3f14febb
Commit
3f14febb
authored
Feb 25, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
af_channelsplit: switch to an AVOptions-based system.
parent
ba8efac9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
af_channelsplit.c
libavfilter/af_channelsplit.c
+1
-7
No files found.
libavfilter/af_channelsplit.c
View file @
3f14febb
...
...
@@ -59,12 +59,6 @@ static int init(AVFilterContext *ctx, const char *arg)
int
nb_channels
;
int
ret
=
0
,
i
;
s
->
class
=
&
channelsplit_class
;
av_opt_set_defaults
(
s
);
if
((
ret
=
av_set_options_string
(
s
,
arg
,
"="
,
":"
))
<
0
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Error parsing options string '%s'.
\n
"
,
arg
);
return
ret
;
}
if
(
!
(
s
->
channel_layout
=
av_get_channel_layout
(
s
->
channel_layout_str
)))
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Error parsing channel layout '%s'.
\n
"
,
s
->
channel_layout_str
);
...
...
@@ -84,7 +78,6 @@ static int init(AVFilterContext *ctx, const char *arg)
}
fail:
av_opt_free
(
s
);
return
ret
;
}
...
...
@@ -149,6 +142,7 @@ AVFilter avfilter_af_channelsplit = {
.
name
=
"channelsplit"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Split audio into per-channel streams"
),
.
priv_size
=
sizeof
(
ChannelSplitContext
),
.
priv_class
=
&
channelsplit_class
,
.
init
=
init
,
.
query_formats
=
query_formats
,
...
...
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