Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
ed858d63
Commit
ed858d63
authored
Jul 24, 2017
by
Tristan Matthews
Committed by
Tristan Matthews
Jul 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aomenc: assume IVF for .ivf output files unless --webm is given
Change-Id: I894ab72f529a598ae4534e0bd982e08863d75fcb
parent
d0b7cf94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
aomenc.c
aomenc.c
+9
-0
No files found.
aomenc.c
View file @
ed858d63
...
...
@@ -960,6 +960,7 @@ static int parse_stream_params(struct AvxEncoderConfig *global,
static
const
int
*
ctrl_args_map
=
NULL
;
struct
stream_config
*
config
=
&
stream
->
config
;
int
eos_mark_found
=
0
;
int
webm_forced
=
0
;
// Handle codec specific options
if
(
0
)
{
...
...
@@ -988,6 +989,13 @@ static int parse_stream_params(struct AvxEncoderConfig *global,
if
(
arg_match
(
&
arg
,
&
outputfile
,
argi
))
{
config
->
out_fn
=
arg
.
val
;
if
(
!
webm_forced
)
{
const
size_t
out_fn_len
=
strlen
(
config
->
out_fn
);
if
(
out_fn_len
>=
4
&&
!
strcmp
(
config
->
out_fn
+
out_fn_len
-
4
,
".ivf"
))
{
config
->
write_webm
=
0
;
}
}
}
else
if
(
arg_match
(
&
arg
,
&
fpf_name
,
argi
))
{
config
->
stats_fn
=
arg
.
val
;
#if CONFIG_FP_MB_STATS
...
...
@@ -997,6 +1005,7 @@ static int parse_stream_params(struct AvxEncoderConfig *global,
}
else
if
(
arg_match
(
&
arg
,
&
use_webm
,
argi
))
{
#if CONFIG_WEBM_IO
config
->
write_webm
=
1
;
webm_forced
=
1
;
#else
die
(
"Error: --webm specified but webm is disabled."
);
#endif
...
...
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