diff options
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");
|