From 7a88c8b6b3a1ba9f5ca08d1c9b235b0dfd2d1d1d Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 30 Sep 2009 14:26:01 +0000 Subject: 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 --- win/C#/Functions/QueryGenerator.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'win/C#/Functions') 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 "; -- cgit v1.2.3