Commit 5886ffbd authored by Luca Barbato's avatar Luca Barbato Committed by Luca Barbato
Browse files

crav1e: Update to the current rav1e API

parent 48381abf
......@@ -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(),
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment