Backport pull request #9538 from jellyfin/release-10.8.z

Fix nvenc preset order

Original-merge: 79bb7560dc7848608cfab538b3aaf56dea545d8f

Merged-by: Cody Robibero <cody@robibe.ro>

Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
TheTyrius 2023-06-13 10:44:06 -04:00 committed by Bond_009
parent ed88c8bd2d
commit 67bc81ec96
2 changed files with 4 additions and 3 deletions

View File

@ -165,6 +165,7 @@
- [MinecraftPlaye](https://github.com/MinecraftPlaye)
- [RealGreenDragon](https://github.com/RealGreenDragon)
- [ipitio](https://github.com/ipitio)
- [TheTyrius](https://github.com/TheTyrius)
# Emby Contributors

View File

@ -1549,11 +1549,11 @@ namespace MediaBrowser.Controller.MediaEncoding
param += " -preset p7";
break;
case "slow":
case "slower":
param += " -preset p6";
break;
case "slower":
case "slow":
param += " -preset p5";
break;
@ -1586,8 +1586,8 @@ namespace MediaBrowser.Controller.MediaEncoding
switch (encodingOptions.EncoderPreset)
{
case "veryslow":
case "slow":
case "slower":
case "slow":
param += " -quality quality";
break;