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

crav1e: Add bitrate option



Currently pinned to one pass only, since, as far as I know, this is
all rav1e currently supports.
Signed-off-by: default avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent 91d208d5
......@@ -206,6 +206,7 @@ unsafe fn option_match(
"tune" => enc.tune = value.parse().map_err(|_| ())?,
"quantizer" => enc.quantizer = value.parse().map_err(|_| ())?,
"bitrate" => enc.bitrate = 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(|_| ())?,
......
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