diff options
author | sr55 <[email protected]> | 2012-02-11 23:13:12 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-02-11 23:13:12 +0000 |
commit | c3077f8c91764b1e5258b802a17d086c6afc02af (patch) | |
tree | abce8ba7664b3688863c3418b2625782d2cad15c /win/CS/HandBrake.ApplicationServices | |
parent | 1d504d557ecc008e3f7924df4181f07b793448fc (diff) |
WinGui: (WPF) Initial wire-up work on the Picture settings panel and setup the auto-nameing feature for the destination path.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4445 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Parsing/Title.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs b/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs index 6b3d517c9..4c800f24c 100644 --- a/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs +++ b/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs @@ -188,7 +188,7 @@ 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, CultureInfo.InvariantCulture);
+ thisTitle.AspectRatio = Math.Round(float.Parse(m.Groups[5].Value, CultureInfo.InvariantCulture), 2);
thisTitle.Fps = float.Parse(m.Groups[6].Value, CultureInfo.InvariantCulture);
}
|