From 34cf38cc5ee99cf9727d530fce09595d2a7af01e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 6 Feb 2022 20:49:32 +0200 Subject: [PATCH] rav1enc: Switch from speed preset 5 to 6 as default This is the default of rav1e nowadays. --- video/rav1e/src/rav1enc/imp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/rav1e/src/rav1enc/imp.rs b/video/rav1e/src/rav1enc/imp.rs index 39a8c30d..f3e58cf3 100644 --- a/video/rav1e/src/rav1enc/imp.rs +++ b/video/rav1e/src/rav1enc/imp.rs @@ -19,7 +19,7 @@ use rav1e::config; use rav1e::data; use std::sync::Mutex; -const DEFAULT_SPEED_PRESET: u32 = 5; +const DEFAULT_SPEED_PRESET: u32 = 6; const DEFAULT_LOW_LATENCY: bool = false; const DEFAULT_MIN_KEY_FRAME_INTERVAL: u64 = 12; const DEFAULT_MAX_KEY_FRAME_INTERVAL: u64 = 240;