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
4f926a10
Commit
4f926a10
authored
Sep 11, 2015
by
Clément Bœsch
Committed by
Clément Bœsch
Sep 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: use AV_OPT_TYPE_BOOL for refcounted_frames, side_data_only_packets and skip_alpha options
parent
1d2beb68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
options_table.h
libavcodec/options_table.h
+3
-3
No files found.
libavcodec/options_table.h
View file @
4f926a10
...
...
@@ -489,11 +489,11 @@ static const AVOption avcodec_options[] = {
{
"do_nothing"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_SUB_CHARENC_MODE_DO_NOTHING
},
INT_MIN
,
INT_MAX
,
S
|
D
,
"sub_charenc_mode"
},
{
"auto"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_SUB_CHARENC_MODE_AUTOMATIC
},
INT_MIN
,
INT_MAX
,
S
|
D
,
"sub_charenc_mode"
},
{
"pre_decoder"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_SUB_CHARENC_MODE_PRE_DECODER
},
INT_MIN
,
INT_MAX
,
S
|
D
,
"sub_charenc_mode"
},
{
"refcounted_frames"
,
NULL
,
OFFSET
(
refcounted_frames
),
AV_OPT_TYPE_
INT
,
{.
i64
=
0
},
0
,
1
,
A
|
V
|
D
},
{
"refcounted_frames"
,
NULL
,
OFFSET
(
refcounted_frames
),
AV_OPT_TYPE_
BOOL
,
{.
i64
=
0
},
0
,
1
,
A
|
V
|
D
},
#if FF_API_SIDEDATA_ONLY_PKT
{
"side_data_only_packets"
,
NULL
,
OFFSET
(
side_data_only_packets
),
AV_OPT_TYPE_
INT
,
{
.
i64
=
1
},
0
,
1
,
A
|
V
|
E
},
{
"side_data_only_packets"
,
NULL
,
OFFSET
(
side_data_only_packets
),
AV_OPT_TYPE_
BOOL
,
{
.
i64
=
1
},
0
,
1
,
A
|
V
|
E
},
#endif
{
"skip_alpha"
,
"Skip processing alpha"
,
OFFSET
(
skip_alpha
),
AV_OPT_TYPE_
INT
,
{.
i64
=
0
},
0
,
1
,
V
|
D
},
{
"skip_alpha"
,
"Skip processing alpha"
,
OFFSET
(
skip_alpha
),
AV_OPT_TYPE_
BOOL
,
{.
i64
=
0
},
0
,
1
,
V
|
D
},
{
"field_order"
,
"Field order"
,
OFFSET
(
field_order
),
AV_OPT_TYPE_INT
,
{.
i64
=
AV_FIELD_UNKNOWN
},
0
,
5
,
V
|
D
|
E
,
"field_order"
},
{
"progressive"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AV_FIELD_PROGRESSIVE
},
0
,
0
,
V
|
D
|
E
,
"field_order"
},
{
"tt"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AV_FIELD_TT
},
0
,
0
,
V
|
D
|
E
,
"field_order"
},
...
...
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