summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-09-30 14:26:01 +0000
committersr55 <[email protected]>2009-09-30 14:26:01 +0000
commit7a88c8b6b3a1ba9f5ca08d1c9b235b0dfd2d1d1d (patch)
tree0f6487293905c4ab2ecce712e7d0aee00a677026 /win/C#/Functions
parent61bef2b28ed7caa4c5869c0bc5b042136bc82c1d (diff)
WinGui:
- Fix query generator issues with custom anamorphic. (Set display width / pix aspect correctly). Also set modulus correctly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2853 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r--win/C#/Functions/QueryGenerator.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/win/C#/Functions/QueryGenerator.cs b/win/C#/Functions/QueryGenerator.cs
index 15dfc0f70..ed80bdaf6 100644
--- a/win/C#/Functions/QueryGenerator.cs
+++ b/win/C#/Functions/QueryGenerator.cs
@@ -149,7 +149,13 @@ namespace Handbrake.Functions
break;
case 3:
query += " --custom-anamorphic ";
- query += " --display-width " + mainWindow.PictureSettings.updownDisplayWidth.Text + " ";
+
+ if (mainWindow.PictureSettings.drp_modulus.SelectedIndex != 0)
+ query += " --modulus " + mainWindow.PictureSettings.drp_modulus.SelectedItem;
+
+ if (mainWindow.PictureSettings.check_KeepAR.Checked)
+ query += " --display-width " + mainWindow.PictureSettings.updownDisplayWidth.Text + " ";
+
if (mainWindow.PictureSettings.check_KeepAR.Checked)
query += " --keep-display-aspect ";