summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/PresetLoader.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-08-29 21:08:50 +0000
committersr55 <[email protected]>2009-08-29 21:08:50 +0000
commit70a9464be721381abbd87792abeffe5a57f5f33e (patch)
treed6b8d2eaf0e131b6786879dd990f117a5d25f52d /win/C#/Functions/PresetLoader.cs
parentfab46b2a994d8d60980e5474ee8a7ede5e0742ca (diff)
WinGui:
- Fix a nasty culture issue with the Video Quality slider. Should now work correctly for systems which represent floats as 1,25 instead of 1.25 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2791 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/PresetLoader.cs')
-rw-r--r--win/C#/Functions/PresetLoader.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/win/C#/Functions/PresetLoader.cs b/win/C#/Functions/PresetLoader.cs
index 90f16f658..fae48ee46 100644
--- a/win/C#/Functions/PresetLoader.cs
+++ b/win/C#/Functions/PresetLoader.cs
@@ -151,8 +151,7 @@ namespace Handbrake.Functions
mainWindow.radio_cq.Checked = true;
if (presetQuery.VideoEncoder == "H.264 (x264)")
{
- double cqStep;
- double.TryParse(Properties.Settings.Default.x264cqstep, out cqStep);
+ double cqStep = Properties.Settings.Default.x264cqstep;
int value;
double x264step = cqStep;
double presetValue = presetQuery.VideoQuality;
@@ -184,7 +183,6 @@ namespace Handbrake.Functions
mainWindow.check_2PassEncode.CheckState = presetQuery.TwoPass ? CheckState.Checked : CheckState.Unchecked;
-
mainWindow.drp_videoFramerate.Text = presetQuery.VideoFramerate;
mainWindow.check_turbo.CheckState = presetQuery.TurboFirstPass ? CheckState.Checked : CheckState.Unchecked;