diff options
Diffstat (limited to 'win/C#/Functions/QueryParser.cs')
-rw-r--r-- | win/C#/Functions/QueryParser.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs index 32179d8f5..759a58da1 100644 --- a/win/C#/Functions/QueryParser.cs +++ b/win/C#/Functions/QueryParser.cs @@ -9,11 +9,13 @@ using System.Collections.Generic; using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
+using System.Globalization;
namespace Handbrake.Functions
{
class QueryParser
{
+ static readonly private CultureInfo Culture = new CultureInfo("en-US", false);
// All the Main Window GUI options
#region Varibles
@@ -1022,7 +1024,7 @@ namespace Handbrake.Functions double qConvert = 0;
if (videoQuality.Success != false)
{
- qConvert = double.Parse(videoQuality.ToString().Replace("-q ", ""), Functions.Encode.Culture) * 100;
+ qConvert = double.Parse(videoQuality.ToString().Replace("-q ", ""), Culture) * 100;
qConvert = System.Math.Ceiling(qConvert);
thisQuery.q_videoQuality = int.Parse(qConvert.ToString());
}
|