summaryrefslogtreecommitdiffstats
path: root/win/CS/Functions/PresetLoader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/Functions/PresetLoader.cs')
-rw-r--r--win/CS/Functions/PresetLoader.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/win/CS/Functions/PresetLoader.cs b/win/CS/Functions/PresetLoader.cs
index 78965f1f9..b3c213469 100644
--- a/win/CS/Functions/PresetLoader.cs
+++ b/win/CS/Functions/PresetLoader.cs
@@ -196,14 +196,17 @@ namespace Handbrake.Functions
switch (presetQuery.VideoEncoder)
{
case VideoEncoder.X264:
- mainWindow.drp_videoEncoder.SelectedIndex = 1;
+ mainWindow.drp_videoEncoder.SelectedIndex = 0;
break;
case VideoEncoder.FFMpeg:
- mainWindow.drp_videoEncoder.SelectedIndex = 0;
+ mainWindow.drp_videoEncoder.SelectedIndex = 1;
break;
- case VideoEncoder.Theora:
+ case VideoEncoder.FFMpeg2:
mainWindow.drp_videoEncoder.SelectedIndex = 2;
break;
+ case VideoEncoder.Theora:
+ mainWindow.drp_videoEncoder.SelectedIndex = 3;
+ break;
}
// Quality
@@ -299,6 +302,7 @@ namespace Handbrake.Functions
switch (videoEncoder)
{
case VideoEncoder.FFMpeg:
+ case VideoEncoder.FFMpeg2:
sliderValue = 32 - (int)value;
break;
case VideoEncoder.X264: