summaryrefslogtreecommitdiffstats
path: root/win/CS/Functions/PresetLoader.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-04-18 20:47:02 +0000
committersr55 <[email protected]>2011-04-18 20:47:02 +0000
commitd0d06731c765a1a4c43558639405533d2af088b7 (patch)
treeb1becf16be4d6ff51300ca36a6191679b04503ca /win/CS/Functions/PresetLoader.cs
parente63f490b2e0a90bafb690e1d1f1f1e2f44729309 (diff)
WinGui:
- added mpeg2 option to the encoders list. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3938 b64f7644-9d1e-0410-96f1-a4d463321fa5
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: