summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-07-25 11:25:07 +0000
committersr55 <[email protected]>2012-07-25 11:25:07 +0000
commit3dae8c654d3f5df2127eb75a9a0231aa1af78386 (patch)
tree2110bb8e55184ad35e465b14811fcaf9005fdb98
parentf97b65287fdb31aa0f6ce41466c32156297342f3 (diff)
WinGui: Don't set -X or -Y for the CLI Query. The UI handles Max Width / Height.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4876 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs
index bacb25de3..a3c84f089 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs
@@ -244,10 +244,10 @@ namespace HandBrake.ApplicationServices.Utilities
if (task.Anamorphic != Anamorphic.Strict)
{
- if (task.MaxWidth.HasValue) query += string.Format(" -X {0}", task.MaxWidth);
+ //if (task.MaxWidth.HasValue) query += string.Format(" -X {0}", task.MaxWidth);
if (task.Width.HasValue && task.Width != 0) query += string.Format(" -w {0}", task.Width);
- if (task.MaxHeight.HasValue) query += string.Format(" -Y {0}", task.MaxHeight);
+ //if (task.MaxHeight.HasValue) query += string.Format(" -Y {0}", task.MaxHeight);
if (task.Height.HasValue && task.Height != 0) query += string.Format(" -l {0}", task.Height);
}