summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-03-26 14:39:23 +0000
committersr55 <[email protected]>2011-03-26 14:39:23 +0000
commit36ceae9d9cabf17124c1b7148f082d7b375d33bc (patch)
tree8acbdc4613a1d72d881a2ebe794a5440a55a609f /win/CS
parenta9da02270af6247d51a41f707956fc96179c0b23 (diff)
WinGui:
- Fix a couple of possible culture issues in the query parser util. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3879 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs
index efc83429a..856114bb0 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs
@@ -194,7 +194,7 @@ namespace HandBrake.ApplicationServices.Utilities
if (displayWidth.Success)
parsed.DisplayWidth =
- double.Parse(displayWidth.Groups[0].Value.Replace("--display-width ", string.Empty));
+ double.Parse(displayWidth.Groups[0].Value.Replace("--display-width ", string.Empty), Culture);
if (pixelAspect.Success)
parsed.PixelAspectX = int.Parse(pixelAspect.Groups[1].Value.Replace("--pixel-aspect ", string.Empty));
@@ -375,11 +375,11 @@ namespace HandBrake.ApplicationServices.Utilities
if (trackSamplerates != null)
if (trackSamplerates.Length >= (x + 1)) // Audio SampleRate
- track.SampleRate = double.Parse(trackSamplerates[x].Replace("Auto", "0").Trim());
+ track.SampleRate = double.Parse(trackSamplerates[x].Replace("Auto", "0").Trim(), Culture);
if (trackDRCvalues != null)
if (trackDRCvalues.Length >= (x + 1)) // Audio DRC Values
- track.DRC = double.Parse(trackDRCvalues[x].Trim());
+ track.DRC = double.Parse(trackDRCvalues[x].Trim(), Culture);
allAudioTrackInfo.Add(track);
}