diff options
author | sr55 <[email protected]> | 2009-06-15 14:56:23 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-06-15 14:56:23 +0000 |
commit | 24780596a9e62e823d619792445a784094f904a2 (patch) | |
tree | 79909eb55db5bf00acd2466a32d7da343949d8f5 /win/C#/Functions/QueryGenerator.cs | |
parent | b023bb532c17e1284230172b660baa32b5750318 (diff) |
WinGui:
- Picture Settings: Height of 0 allows for no -l to be passed to the CLI
- Picture Settings / pre-sets now set 0 when no Height specified. Prevents the panel from using incorrect values when pre-sets are selected.
- Simplified the Encode.cs set-up. Includes changes to QueueHandler
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2534 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/QueryGenerator.cs')
-rw-r--r-- | win/C#/Functions/QueryGenerator.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/win/C#/Functions/QueryGenerator.cs b/win/C#/Functions/QueryGenerator.cs index 2f6e474fa..341338d23 100644 --- a/win/C#/Functions/QueryGenerator.cs +++ b/win/C#/Functions/QueryGenerator.cs @@ -133,9 +133,10 @@ namespace Handbrake.Functions // Use MaxHeight for built-in presets and height for user settings.
if (mainWindow.pictureSettings.maxHeight == 0)
{
- if (mainWindow.pictureSettings.text_height.Text != "")
- if (mainWindow.pictureSettings.drp_anamorphic.SelectedIndex == 0 || mainWindow.pictureSettings.drp_anamorphic.SelectedIndex == 3) // Prevent usage for strict anamorphic
- query += " -l " + mainWindow.pictureSettings.text_height.Text;
+ if (mainWindow.pictureSettings.text_height.Text != "0")
+ if (mainWindow.pictureSettings.text_height.Text != "")
+ if (mainWindow.pictureSettings.drp_anamorphic.SelectedIndex == 0 || mainWindow.pictureSettings.drp_anamorphic.SelectedIndex == 3) // Prevent usage for strict anamorphic
+ query += " -l " + mainWindow.pictureSettings.text_height.Text;
}
else
{
|