diff options
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs | 2 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs index 2bd04a93f..db858c9f0 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs @@ -470,7 +470,7 @@ namespace HandBrake.ApplicationServices.Utilities query += " -T ";
if (task.Framerate.HasValue)
- query += string.Format(" -r {0}", task.Framerate);
+ query += string.Format(" -r {0}", task.Framerate.Value.ToString(CultureInfo.InvariantCulture));
switch (task.FramerateMode)
{
diff --git a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs index 8468f26da..b14e09ff4 100644 --- a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs @@ -322,7 +322,7 @@ namespace HandBrakeWPF.ViewModels {
this.IsPeakFramerate = true;
}
- this.Task.Framerate = double.Parse(value);
+ this.Task.Framerate = double.Parse(value, CultureInfo.InvariantCulture);
}
this.NotifyOfPropertyChange(() => this.SelectedFramerate);
|