summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-06-09 21:48:37 +0000
committersr55 <[email protected]>2009-06-09 21:48:37 +0000
commit71bc820e642a7afaf80046e0288220cbbfec23e8 (patch)
tree0c4fd8f6acae2cbdec727c39672d85e6b8149758 /win/C#/Functions
parent83b9605f2df83c23a32d2b4a9444a1ddf7d82a8e (diff)
WinGui:
- Fix the QueryGenerator setting incorrect width/height values for anamorphic modes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2509 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r--win/C#/Functions/QueryGenerator.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/win/C#/Functions/QueryGenerator.cs b/win/C#/Functions/QueryGenerator.cs
index a60ad3112..16b2ace3f 100644
--- a/win/C#/Functions/QueryGenerator.cs
+++ b/win/C#/Functions/QueryGenerator.cs
@@ -122,7 +122,8 @@ namespace Handbrake.Functions
{
if (mainWindow.pictureSettings.text_width.Text != "")
- query += " -w " + mainWindow.pictureSettings.text_width.Text;
+ if (mainWindow.pictureSettings.drp_anamorphic.SelectedIndex != 1) // Prevent usage for strict anamorphic
+ query += " -w " + mainWindow.pictureSettings.text_width.Text;
}
else
{
@@ -134,12 +135,13 @@ namespace Handbrake.Functions
if (mainWindow.maxHeight == 0)
{
if (mainWindow.pictureSettings.text_height.Text != "")
- query += " -l " + 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
{
if (mainWindow.pictureSettings.text_height.Text != "")
- query += " -Y " + mainWindow.pictureSettings.text_height.Text;
+ query += " -Y " + mainWindow.pictureSettings.text_height.Text;
}
string cropTop = mainWindow.pictureSettings.crop_top.Text;