From 4ec40322ea7ac15f645a6a056da99b43d6d2ac12 Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 4 Nov 2011 23:02:19 +0000 Subject: WinGui: Several more culture issue fixes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4340 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrake.ApplicationServices/Parsing/Title.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'win/CS/HandBrake.ApplicationServices/Parsing') diff --git a/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs b/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs index 362a86a7e..6b3d517c9 100644 --- a/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs +++ b/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs @@ -21,11 +21,6 @@ namespace HandBrake.ApplicationServices.Parsing /// public class Title { - /// - /// The Culture Info - /// - private static readonly CultureInfo Culture = new CultureInfo("en-US", false); - /// /// The User Setting Service /// @@ -193,8 +188,8 @@ namespace HandBrake.ApplicationServices.Parsing { thisTitle.Resolution = new Size(int.Parse(m.Groups[1].Value), int.Parse(m.Groups[2].Value)); thisTitle.ParVal = new Size(int.Parse(m.Groups[3].Value), int.Parse(m.Groups[4].Value)); - thisTitle.AspectRatio = float.Parse(m.Groups[5].Value, Culture); - thisTitle.Fps = float.Parse(m.Groups[6].Value, Culture); + thisTitle.AspectRatio = float.Parse(m.Groups[5].Value, CultureInfo.InvariantCulture); + thisTitle.Fps = float.Parse(m.Groups[6].Value, CultureInfo.InvariantCulture); } // Get autocrop region for this title -- cgit v1.2.3