From dc22c450930851588b6ae7eb53c254d2f55d90e9 Mon Sep 17 00:00:00 2001 From: n00mkrad Date: Sat, 24 Jul 2021 16:35:43 +0200 Subject: [PATCH] Default SVT-AV1 preset to 8 if preset parsing fails for some reason --- Code/Media/FFmpegUtils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Media/FFmpegUtils.cs b/Code/Media/FFmpegUtils.cs index ecc6cc5..b07d114 100644 --- a/Code/Media/FFmpegUtils.cs +++ b/Code/Media/FFmpegUtils.cs @@ -126,7 +126,7 @@ namespace Flowframes.Media static string GetSvtAv1Speed() { string preset = Config.Get(Config.Key.ffEncPreset).ToLower().Remove(" "); - string arg = ""; + string arg = "8"; if (preset == "veryslow") arg = "2"; if (preset == "slower") arg = "3";