Commit c13b76d2 authored by Derek Buitenhuis's avatar Derek Buitenhuis Committed by Luca Barbato
Browse files

crav1e: api: Add reservoir_frame_delay option

Added in 40b2b021

.
Signed-off-by: default avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent d0c52ee8
...@@ -273,6 +273,7 @@ unsafe fn option_match( ...@@ -273,6 +273,7 @@ unsafe fn option_match(
"key_frame_interval" => enc.max_key_frame_interval = value.parse().map_err(|_| ())?, "key_frame_interval" => enc.max_key_frame_interval = value.parse().map_err(|_| ())?,
"min_key_frame_interval" => enc.min_key_frame_interval = value.parse().map_err(|_| ())?, "min_key_frame_interval" => enc.min_key_frame_interval = value.parse().map_err(|_| ())?,
"reservoir_frame_delay" => enc.reservoir_frame_delay = Some(value.parse().map_err(|_| ())?),
"low_latency" => enc.low_latency = value.parse().map_err(|_| ())?, "low_latency" => enc.low_latency = value.parse().map_err(|_| ())?,
_ => return Err(()) _ => return Err(())
......
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