Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
4ac3b7ab
Commit
4ac3b7ab
authored
Jul 02, 2014
by
James Zern
Committed by
Gerrit Code Review
Jul 02, 2014
Browse files
Merge "vpxdec: add --keep-going option"
parents
362b53ec
95853db8
Changes
1
Hide whitespace changes
Inline
Side-by-side
vpxdec.c
View file @
4ac3b7ab
...
...
@@ -77,6 +77,8 @@ static const arg_def_t error_concealment = ARG_DEF(NULL, "error-concealment", 0,
"Enable decoder error-concealment"
);
static
const
arg_def_t
scalearg
=
ARG_DEF
(
"S"
,
"scale"
,
0
,
"Scale output frames uniformly"
);
static
const
arg_def_t
continuearg
=
ARG_DEF
(
"k"
,
"keep-going"
,
0
,
"(debug) Continue decoding after error"
);
static
const
arg_def_t
fb_arg
=
ARG_DEF
(
NULL
,
"frame-buffers"
,
1
,
"Number of frame buffers to use"
);
...
...
@@ -88,8 +90,7 @@ static const arg_def_t *all_args[] = {
&
codecarg
,
&
use_yv12
,
&
use_i420
,
&
flipuvarg
,
&
noblitarg
,
&
progressarg
,
&
limitarg
,
&
skiparg
,
&
postprocarg
,
&
summaryarg
,
&
outputfile
,
&
threadsarg
,
&
verbosearg
,
&
scalearg
,
&
fb_arg
,
&
md5arg
,
&
error_concealment
,
&
md5arg
,
&
error_concealment
,
&
continuearg
,
NULL
};
...
...
@@ -497,6 +498,7 @@ int main_loop(int argc, const char **argv_) {
int
stop_after
=
0
,
postproc
=
0
,
summary
=
0
,
quiet
=
1
;
int
arg_skip
=
0
;
int
ec_enabled
=
0
;
int
keep_going
=
0
;
const
VpxInterface
*
interface
=
NULL
;
const
VpxInterface
*
fourcc_interface
=
NULL
;
uint64_t
dx_time
=
0
;
...
...
@@ -632,6 +634,8 @@ int main_loop(int argc, const char **argv_) {
}
}
else
if
(
arg_match
(
&
arg
,
&
error_concealment
,
argi
))
{
ec_enabled
=
1
;
}
else
if
(
arg_match
(
&
arg
,
&
continuearg
,
argi
))
{
keep_going
=
1
;
}
#endif
...
...
@@ -814,7 +818,8 @@ int main_loop(int argc, const char **argv_) {
if
(
detail
)
warn
(
"Additional information: %s"
,
detail
);
goto
fail
;
if
(
!
keep_going
)
goto
fail
;
}
vpx_usec_timer_mark
(
&
timer
);
...
...
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