]> granicus.if.org Git - handbrake/commitdiff
WinGui: Missing file from last checkin
authorsr55 <sr55.hb@outlook.com>
Fri, 22 Jun 2012 23:14:28 +0000 (23:14 +0000)
committersr55 <sr55.hb@outlook.com>
Fri, 22 Jun 2012 23:14:28 +0000 (23:14 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4770 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs

index 1fbd1244ce6c196358164dc0e01184fbd81a007e..7678beeb02fa587d5ac93d87b48e3b3992b8b24e 100644 (file)
@@ -248,10 +248,10 @@ namespace HandBrake.ApplicationServices.Utilities
             if (task.Anamorphic != Anamorphic.Strict)\r
             {\r
                 if (task.MaxWidth.HasValue) query += string.Format(" -X {0}", task.MaxWidth);\r
-                else if (task.Width.HasValue && task.Width != 0) query += string.Format(" -w {0}", task.Width);\r
+                if (task.Width.HasValue && task.Width != 0) query += string.Format(" -w {0}", task.Width);\r
 \r
-                if (task.MaxWidth.HasValue) query += string.Format(" -Y {0}", task.MaxHeight);\r
-                else if (task.Height.HasValue && task.Height != 0) query += string.Format(" -l {0}", task.Height);\r
+                if (task.MaxHeight.HasValue) query += string.Format(" -Y {0}", task.MaxHeight);\r
+                if (task.Height.HasValue && task.Height != 0) query += string.Format(" -l {0}", task.Height);\r
             }\r
 \r
             if (task.HasCropping)\r