]> granicus.if.org Git - handbrake/commitdiff
WinGui:
authorsr55 <sr55.hb@outlook.com>
Sat, 15 Nov 2008 22:42:22 +0000 (22:42 +0000)
committersr55 <sr55.hb@outlook.com>
Sat, 15 Nov 2008 22:42:22 +0000 (22:42 +0000)
- Fix a problem with loading presets. Height would be automatically generated if only a width was selected and a source had been scanned. The MaxWidth and Height causes a small libhb conflict, therefor, do not automatically generate a height when maxHeight or maxWidth is used.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1922 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/frmMain.cs

index 94d82649451e7a646eb5334f91ce6f5b9d70b3df..b234b05e6b138bc040d0795e32e05bda964b2a58 100644 (file)
@@ -809,7 +809,7 @@ namespace Handbrake
                     text_width.BackColor = Color.LightGreen;\r
 \r
 \r
-                if (lbl_Aspect.Text != "Select a Title")\r
+                if (lbl_Aspect.Text != "Select a Title" && maxWidth != 0 && maxHeight != 0)\r
                 {\r
                     if (drp_anamorphic.Text == "None")\r
                     {\r