Default SVT-AV1 preset to 8 if preset parsing fails for some reason

This commit is contained in:
n00mkrad
2021-07-24 16:35:43 +02:00
parent bf31b96b79
commit dc22c45093

View File

@@ -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";