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
c8dad9a6
Commit
c8dad9a6
authored
Oct 22, 2011
by
Dustin Brody
Committed by
Anton Khirnov
Oct 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add -err_filter AVOptions to access flag-based error recognition
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
b0b32310
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
options.c
libavcodec/options.c
+7
-2
No files found.
libavcodec/options.c
View file @
c8dad9a6
...
...
@@ -200,14 +200,19 @@ static const AVOption options[]={
{
"unofficial"
,
"allow unofficial extensions"
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
FF_COMPLIANCE_UNOFFICIAL
},
INT_MIN
,
INT_MAX
,
V
|
D
|
E
,
"strict"
},
{
"experimental"
,
"allow non standardized experimental things"
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
FF_COMPLIANCE_EXPERIMENTAL
},
INT_MIN
,
INT_MAX
,
V
|
D
|
E
,
"strict"
},
{
"b_qoffset"
,
"qp offset between P and B frames"
,
OFFSET
(
b_quant_offset
),
AV_OPT_TYPE_FLOAT
,
{.
dbl
=
1
.
25
},
-
FLT_MAX
,
FLT_MAX
,
V
|
E
},
#if FF_API_ER
{
"er"
,
"set error detection aggressivity"
,
OFFSET
(
error_recognition
),
AV_OPT_TYPE_INT
,
{.
dbl
=
FF_ER_CAREFUL
},
INT_MIN
,
INT_MAX
,
A
|
V
|
D
,
"er"
},
{
"careful"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
FF_ER_CAREFUL
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"er"
},
{
"compliant"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
FF_ER_COMPLIANT
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"er"
},
{
"aggressive"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
FF_ER_AGGRESSIVE
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"er"
},
#if FF_API_ER
{
"very_aggressive"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
FF_ER_VERY_AGGRESSIVE
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"er"
},
#endif
/* FF_API_ER */
{
"explode"
,
"abort decoding on error recognition"
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
FF_ER_EXPLODE
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"er"
},
#endif
/* FF_API_ER */
{
"err_filter"
,
"set error detection filter flags"
,
OFFSET
(
err_recognition
),
AV_OPT_TYPE_FLAGS
,
{.
dbl
=
AV_EF_CRCCHECK
},
INT_MIN
,
INT_MAX
,
A
|
V
|
D
,
"err_filter"
},
{
"crccheck"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
AV_EF_CRCCHECK
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"err_filter"
},
{
"bitstream"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
AV_EF_BITSTREAM
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"err_filter"
},
{
"buffer"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
AV_EF_BUFFER
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"err_filter"
},
{
"explode"
,
"abort decoding on minor error recognition"
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
AV_EF_EXPLODE
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"err_filter"
},
{
"has_b_frames"
,
NULL
,
OFFSET
(
has_b_frames
),
AV_OPT_TYPE_INT
,
{.
dbl
=
DEFAULT
},
INT_MIN
,
INT_MAX
},
{
"block_align"
,
NULL
,
OFFSET
(
block_align
),
AV_OPT_TYPE_INT
,
{.
dbl
=
DEFAULT
},
INT_MIN
,
INT_MAX
},
{
"parse_only"
,
NULL
,
OFFSET
(
parse_only
),
AV_OPT_TYPE_INT
,
{.
dbl
=
DEFAULT
},
INT_MIN
,
INT_MAX
},
...
...
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