Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
rav1e
Commits
5886ffbd
Commit
5886ffbd
authored
Feb 03, 2019
by
Luca Barbato
Committed by
Luca Barbato
Jun 25, 2019
Browse files
crav1e: Update to the current rav1e API
parent
48381abf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/capi.rs
View file @
5886ffbd
...
...
@@ -84,14 +84,15 @@ pub unsafe extern "C" fn rav1e_config_default(
timebase
:
Rational
,
)
->
*
mut
Config
{
let
cfg
=
rav1e
::
Config
{
frame
_info
:
rav1e
::
FrameInfo
{
video
_info
:
rav1e
::
VideoDetails
{
width
:
width
as
usize
,
height
:
height
as
usize
,
bit_depth
:
bit_depth
as
usize
,
chroma_sampling
,
chroma_sample_position
,
mono
:
false
,
time_base
:
timebase
,
},
timebase
,
enc
:
Default
::
default
(),
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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