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
ebb770d3
Commit
ebb770d3
authored
May 10, 2020
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: move msbc profile to encoder
Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
d55f1cc5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
options_table.h
libavcodec/options_table.h
+0
-1
sbcenc.c
libavcodec/sbcenc.c
+1
-0
No files found.
libavcodec/options_table.h
View file @
ebb770d3
...
@@ -268,7 +268,6 @@ static const AVOption avcodec_options[] = {
...
@@ -268,7 +268,6 @@ static const AVOption avcodec_options[] = {
{
"mpeg4_main"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_PROFILE_MPEG4_MAIN
},
INT_MIN
,
INT_MAX
,
V
|
E
,
"avctx.profile"
},
{
"mpeg4_main"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_PROFILE_MPEG4_MAIN
},
INT_MIN
,
INT_MAX
,
V
|
E
,
"avctx.profile"
},
{
"mpeg4_asp"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_PROFILE_MPEG4_ADVANCED_SIMPLE
},
INT_MIN
,
INT_MAX
,
V
|
E
,
"avctx.profile"
},
{
"mpeg4_asp"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_PROFILE_MPEG4_ADVANCED_SIMPLE
},
INT_MIN
,
INT_MAX
,
V
|
E
,
"avctx.profile"
},
{
"main10"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_PROFILE_HEVC_MAIN_10
},
INT_MIN
,
INT_MAX
,
V
|
E
,
"avctx.profile"
},
{
"main10"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_PROFILE_HEVC_MAIN_10
},
INT_MIN
,
INT_MAX
,
V
|
E
,
"avctx.profile"
},
{
"msbc"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_PROFILE_SBC_MSBC
},
INT_MIN
,
INT_MAX
,
A
|
E
,
"avctx.profile"
},
{
"level"
,
NULL
,
OFFSET
(
level
),
AV_OPT_TYPE_INT
,
{.
i64
=
FF_LEVEL_UNKNOWN
},
INT_MIN
,
INT_MAX
,
V
|
A
|
E
,
"level"
},
{
"level"
,
NULL
,
OFFSET
(
level
),
AV_OPT_TYPE_INT
,
{.
i64
=
FF_LEVEL_UNKNOWN
},
INT_MIN
,
INT_MAX
,
V
|
A
|
E
,
"level"
},
{
"unknown"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_LEVEL_UNKNOWN
},
INT_MIN
,
INT_MAX
,
V
|
A
|
E
,
"level"
},
{
"unknown"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_LEVEL_UNKNOWN
},
INT_MIN
,
INT_MAX
,
V
|
A
|
E
,
"level"
},
{
"lowres"
,
"decode at 1= 1/2, 2=1/4, 3=1/8 resolutions"
,
OFFSET
(
lowres
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
INT_MAX
,
V
|
A
|
D
},
{
"lowres"
,
"decode at 1= 1/2, 2=1/4, 3=1/8 resolutions"
,
OFFSET
(
lowres
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
INT_MAX
,
V
|
A
|
D
},
...
...
libavcodec/sbcenc.c
View file @
ebb770d3
...
@@ -330,6 +330,7 @@ static const AVOption options[] = {
...
@@ -330,6 +330,7 @@ static const AVOption options[] = {
OFFSET
(
max_delay
),
AV_OPT_TYPE_DURATION
,
{.
i64
=
13000
},
1000
,
13000
,
AE
},
OFFSET
(
max_delay
),
AV_OPT_TYPE_DURATION
,
{.
i64
=
13000
},
1000
,
13000
,
AE
},
{
"msbc"
,
"use mSBC mode (wideband speech mono SBC)"
,
{
"msbc"
,
"use mSBC mode (wideband speech mono SBC)"
,
OFFSET
(
msbc
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
0
},
0
,
1
,
AE
},
OFFSET
(
msbc
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
0
},
0
,
1
,
AE
},
FF_AVCTX_PROFILE_OPTION
(
"msbc"
,
NULL
,
AUDIO
,
FF_PROFILE_SBC_MSBC
)
{
NULL
},
{
NULL
},
};
};
...
...
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