diff options
| author | scr4bble <scr4bble@users.noreply.github.com> | 2026-09-27 16:30:36 -0400 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2026-09-27 16:30:36 -0400 |
| commit | 4e73688f7dbefa3e8e9170e8477fbdd6d036101e (patch) | |
| tree | 5f16751402c212159d9262e50e0721cc90d7b81f /Jellyfin.Server/Migrations/PreStartupRoutines/MigrateEncodingOptions.cs | |
| parent | 169a3e5d34a26ce7bc6f3d4a4513ab3bdc99e8e6 (diff) | |
Backport pull request #18059 from jellyfin/release-12.z
Fix transcoding settings migration failure caused by null EncoderPreset
Original-merge: 3e27c7ef7f7ec20199bd0493cd8eba42390b22a7
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'Jellyfin.Server/Migrations/PreStartupRoutines/MigrateEncodingOptions.cs')
| -rw-r--r-- | Jellyfin.Server/Migrations/PreStartupRoutines/MigrateEncodingOptions.cs | 4 |
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; } |
