summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index e24bb223b..fcafb5dcf 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -1650,7 +1650,18 @@ namespace Handbrake
else if (cropSetting == "No Crop")
cropOut = " --crop 0:0:0:0 ";
else
+ {
+ if (text_top.Text == "")
+ cropTop = "0";
+ if (text_bottom.Text == "")
+ cropBottom = "0";
+ if (text_left.Text == "")
+ cropLeft = "0";
+ if (text_right.Text == "")
+ cropRight = "0";
+
cropOut = " --crop " + cropTop + ":" + cropBottom + ":" + cropLeft + ":" + cropRight;
+ }
if (subtitles == "None")
subtitles = "";