- Fixed issue with manual cropping and empty text box leading to --crop :::: being passed to the cli.
git-svn-id: svn://localhost/HandBrake/trunk@820
b64f7644-9d1e-0410-96f1-
a4d463321fa5
else if (cropSetting == "No Crop")\r
cropOut = " --crop 0:0:0:0 ";\r
else\r
+ {\r
+ if (text_top.Text == "")\r
+ cropTop = "0";\r
+ if (text_bottom.Text == "")\r
+ cropBottom = "0";\r
+ if (text_left.Text == "")\r
+ cropLeft = "0";\r
+ if (text_right.Text == "")\r
+ cropRight = "0";\r
+\r
cropOut = " --crop " + cropTop + ":" + cropBottom + ":" + cropLeft + ":" + cropRight;\r
+ }\r
\r
if (subtitles == "None")\r
subtitles = "";\r