From 0ad70bb699943eb5eef01cb8017d2f9fb622652c Mon Sep 17 00:00:00 2001 From: TheTyrius <16269108+TheTyrius@users.noreply.github.com> Date: Sat, 25 Mar 2023 14:31:15 +0100 Subject: [PATCH 1/2] Fix nvenc preset ordering --- MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs index da6470225..04aeaffd2 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs @@ -1459,11 +1459,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; @@ -1496,8 +1496,8 @@ namespace MediaBrowser.Controller.MediaEncoding switch (encodingOptions.EncoderPreset) { case "veryslow": - case "slow": case "slower": + case "slow": param += " -quality quality"; break; From bf37db7f42d25fdd28e995d4ef8c263b380528b9 Mon Sep 17 00:00:00 2001 From: TheTyrius <16269108+TheTyrius@users.noreply.github.com> Date: Sat, 25 Mar 2023 14:31:51 +0100 Subject: [PATCH 2/2] Add self to CONTRIBUTORS.md as per dev docs --- CONTRIBUTORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 708537115..9e2da3669 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -160,6 +160,7 @@ - [vgambier](https://github.com/vgambier) - [MinecraftPlaye](https://github.com/MinecraftPlaye) - [RealGreenDragon](https://github.com/RealGreenDragon) + - [TheTyrius](https://github.com/TheTyrius) # Emby Contributors