From 3dae8c654d3f5df2127eb75a9a0231aa1af78386 Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 25 Jul 2012 11:25:07 +0000 Subject: 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 --- .../HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win') 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); } -- cgit v1.2.3