summaryrefslogtreecommitdiffstats
path: root/win/C#
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-08-29 21:50:49 +0000
committersr55 <[email protected]>2009-08-29 21:50:49 +0000
commit597cccbec64a40567337d81aed1797d389df2cc1 (patch)
treee8dfc57357c122ee4975130e528fad4bba330254 /win/C#
parent70a9464be721381abbd87792abeffe5a57f5f33e (diff)
WinGui:
- Make sure video quality scale is set correctly at startup. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2792 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#')
-rw-r--r--win/C#/frmMain.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 9dd44d215..cbacdc782 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -103,7 +103,7 @@ namespace Handbrake
// Send the query from the file to the Query Parser class, then load the preset
QueryParser presetQuery = QueryParser.Parse(query);
PresetLoader.presetLoader(this, presetQuery, Properties.Settings.Default.defaultPreset, loadPictureSettings);
-
+
// The x264 widgets will need updated, so do this now:
x264Panel.X264_StandardizeOptString();
x264Panel.X264_SetCurrentSettingsInPanel();
@@ -1175,16 +1175,16 @@ namespace Handbrake
switch (Properties.Settings.Default.x264cqstep.ToString(culture))
{
- case "0.20":
+ case "0.2":
slider_videoQuality.Maximum = 255;
break;
case "0.25":
slider_videoQuality.Maximum = 204;
break;
- case "0.50":
+ case "0.5":
slider_videoQuality.Maximum = 102;
break;
- case "1.0":
+ case "1":
slider_videoQuality.Maximum = 51;
break;
default: