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
75e2025f
Commit
75e2025f
authored
Jan 22, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avplay: remove the -er option.
Error recognition flags can and should be set directly with AVOptions.
parent
941e9f22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
avplay.c
avplay.c
+0
-3
No files found.
avplay.c
View file @
75e2025f
...
...
@@ -251,7 +251,6 @@ static int idct = FF_IDCT_AUTO;
static
enum
AVDiscard
skip_frame
=
AVDISCARD_DEFAULT
;
static
enum
AVDiscard
skip_idct
=
AVDISCARD_DEFAULT
;
static
enum
AVDiscard
skip_loop_filter
=
AVDISCARD_DEFAULT
;
static
int
error_recognition
=
FF_ER_CAREFUL
;
static
int
error_concealment
=
3
;
static
int
decoder_reorder_pts
=
-
1
;
static
int
autoexit
;
...
...
@@ -2187,7 +2186,6 @@ static int stream_component_open(VideoState *is, int stream_index)
avctx
->
skip_frame
=
skip_frame
;
avctx
->
skip_idct
=
skip_idct
;
avctx
->
skip_loop_filter
=
skip_loop_filter
;
avctx
->
error_recognition
=
error_recognition
;
avctx
->
error_concealment
=
error_concealment
;
avctx
->
thread_count
=
thread_count
;
...
...
@@ -2992,7 +2990,6 @@ static const OptionDef options[] = {
{
"skipframe"
,
OPT_INT
|
HAS_ARG
|
OPT_EXPERT
,
{
(
void
*
)
&
skip_frame
},
""
,
""
},
{
"skipidct"
,
OPT_INT
|
HAS_ARG
|
OPT_EXPERT
,
{
(
void
*
)
&
skip_idct
},
""
,
""
},
{
"idct"
,
OPT_INT
|
HAS_ARG
|
OPT_EXPERT
,
{
(
void
*
)
&
idct
},
"set idct algo"
,
"algo"
},
{
"er"
,
OPT_INT
|
HAS_ARG
|
OPT_EXPERT
,
{
(
void
*
)
&
error_recognition
},
"set error detection threshold (0-4)"
,
"threshold"
},
{
"ec"
,
OPT_INT
|
HAS_ARG
|
OPT_EXPERT
,
{
(
void
*
)
&
error_concealment
},
"set error concealment options"
,
"bit_mask"
},
{
"sync"
,
HAS_ARG
|
OPT_EXPERT
,
{
(
void
*
)
opt_sync
},
"set audio-video sync. type (type=audio/video/ext)"
,
"type"
},
{
"threads"
,
HAS_ARG
|
OPT_EXPERT
,
{
(
void
*
)
opt_thread_count
},
"thread count"
,
"count"
},
...
...
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