aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Migrations/PreStartupRoutines/MigrateEncodingOptions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Server/Migrations/PreStartupRoutines/MigrateEncodingOptions.cs')
-rw-r--r--Jellyfin.Server/Migrations/PreStartupRoutines/MigrateEncodingOptions.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Server/Migrations/PreStartupRoutines/MigrateEncodingOptions.cs b/Jellyfin.Server/Migrations/PreStartupRoutines/MigrateEncodingOptions.cs
index 0141b43c96..a5006c9bfa 100644
--- a/Jellyfin.Server/Migrations/PreStartupRoutines/MigrateEncodingOptions.cs
+++ b/Jellyfin.Server/Migrations/PreStartupRoutines/MigrateEncodingOptions.cs
@@ -79,8 +79,8 @@ public class MigrateEncodingOptions : IMigrationRoutine
tonemappingRange = parsedTonemappingRange;
}
- var encoderPreset = EncoderPreset.superfast;
- if (Enum.TryParse<EncoderPreset>(oldConfig.TonemappingRange, true, out var parsedEncoderPreset))
+ var encoderPreset = EncoderPreset.auto;
+ if (Enum.TryParse<EncoderPreset>(oldConfig.EncoderPreset, true, out var parsedEncoderPreset))
{
encoderPreset = parsedEncoderPreset;
}