diff options
author | sr55 <[email protected]> | 2010-04-09 20:08:54 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-04-09 20:08:54 +0000 |
commit | 34d7b7d5daef1d22ab8061ebb46fea5a27a4c8fd (patch) | |
tree | 634ff18aa873df81fde8605925cc3121be63fda9 /win/C#/Functions | |
parent | 308a8ae86210c5d680a01fc4e0336af41ef479c4 (diff) |
WinGui:
- Fix a few small issues with custom anamorphic preset loading. Thanks golgol7777
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3216 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r-- | win/C#/Functions/PresetLoader.cs | 2 | ||||
-rw-r--r-- | win/C#/Functions/QueryParser.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/win/C#/Functions/PresetLoader.cs b/win/C#/Functions/PresetLoader.cs index e9fd7ba9d..cab771ab1 100644 --- a/win/C#/Functions/PresetLoader.cs +++ b/win/C#/Functions/PresetLoader.cs @@ -143,7 +143,7 @@ namespace Handbrake.Functions mainWindow.PictureSettings.updownDisplayWidth.Text = presetQuery.DisplayWidthValue.ToString();
mainWindow.PictureSettings.updownParHeight.Text = presetQuery.PixelAspectWidth.ToString();
mainWindow.PictureSettings.updownParWidth.Text = presetQuery.PixelAspectHeight.ToString();
- mainWindow.PictureSettings.drp_modulus.SelectedItem = presetQuery.AnamorphicModulus;
+ mainWindow.PictureSettings.drp_modulus.SelectedItem = presetQuery.AnamorphicModulus.ToString();
#endregion
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs index 95b153aa3..4e864227e 100644 --- a/win/C#/Functions/QueryParser.cs +++ b/win/C#/Functions/QueryParser.cs @@ -126,9 +126,9 @@ namespace Handbrake.Functions Match customAnamorphic = Regex.Match(input, @"--custom-anamorphic");
Match keepDisplayAsect = Regex.Match(input, @"--keep-display-aspect");
- Match displayWidth = Regex.Match(input, @"--display-width ([0-9*])");
+ Match displayWidth = Regex.Match(input, @"--display-width ([0-9]*)");
Match pixelAspect = Regex.Match(input, @"--pixel-aspect ([0-9]*):([0-9]*)");
- Match modulus = Regex.Match(input, @"--modulus ([0-9*])");
+ Match modulus = Regex.Match(input, @"--modulus ([0-9]*)");
// Picture Settings - Filters
Match decomb = Regex.Match(input, @" --decomb");
|