diff options
author | sr55 <[email protected]> | 2009-02-22 17:49:11 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-02-22 17:49:11 +0000 |
commit | 51ed8553568294793d0e50e11dc6c80b1f161f02 (patch) | |
tree | 612b09b918169f71dabb59dcb90a6d514836a3f8 /win/C#/frmMain.cs | |
parent | d466cea1226722635222e3f45f8ddfa1536edb26 (diff) |
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2173 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r-- | win/C#/frmMain.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 1fbe83b3f..b1065436c 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -1116,7 +1116,11 @@ namespace Handbrake break;
case "H.264 (x264)":
double divided;
- double.TryParse(Properties.Settings.Default.x264cqstep, out divided);
+ System.Globalization.CultureInfo culture = System.Globalization.CultureInfo.CreateSpecificCulture("en-US");
+ double.TryParse(Properties.Settings.Default.x264cqstep,
+ System.Globalization.NumberStyles.Number,
+ culture,
+ out divided);
rfValue = 51.0 - slider_videoQuality.Value * divided;
max = slider_videoQuality.Maximum * divided;
min = slider_videoQuality.Minimum;
@@ -2095,6 +2099,7 @@ namespace Handbrake #endregion
+
// This is the END of the road ------------------------------------------------------------------------------
}
}
\ No newline at end of file |