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/Functions/QueryGenerator.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'win/CS/Functions') diff --git a/win/CS/Functions/QueryGenerator.cs b/win/CS/Functions/QueryGenerator.cs index c042daa79..7bf0dd01b 100644 --- a/win/CS/Functions/QueryGenerator.cs +++ b/win/CS/Functions/QueryGenerator.cs @@ -374,17 +374,16 @@ namespace Handbrake.Functions case "MPEG-4 (FFmpeg)": case "MPEG-2 (FFmpeg)": value = 31 - (mainWindow.slider_videoQuality.Value - 1); - query += " -q " + value.ToString(new CultureInfo("en-US")); + query += " -q " + value.ToString(CultureInfo.InvariantCulture); break; case "H.264 (x264)": - CultureInfo culture = CultureInfo.CreateSpecificCulture("en-US"); value = 51 - (mainWindow.slider_videoQuality.Value * cqStep); value = Math.Round(value, 2); - query += " -q " + value.ToString(culture); + query += " -q " + value.ToString(CultureInfo.InvariantCulture); break; case "VP3 (Theora)": value = mainWindow.slider_videoQuality.Value; - query += " -q " + value.ToString(new CultureInfo("en-US")); + query += " -q " + value.ToString(CultureInfo.InvariantCulture); break; } } -- cgit v1.2.3