diff options
author | sr55 <[email protected]> | 2008-09-18 16:51:49 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-09-18 16:51:49 +0000 |
commit | c8338193fc58ba12f46870027c1e1c6a2454d145 (patch) | |
tree | 51a8191152ed2372d5f6b84007a338666d90f6da /win/C#/Functions/Common.cs | |
parent | 636794fcffc0c451b557aeaa977c5fde37cced66 (diff) |
WinGui:
- Couple of bug fixes. Crop, -f option, typo
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1717 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/Common.cs')
-rw-r--r-- | win/C#/Functions/Common.cs | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/win/C#/Functions/Common.cs b/win/C#/Functions/Common.cs index 8ef4b3b8d..01c337817 100644 --- a/win/C#/Functions/Common.cs +++ b/win/C#/Functions/Common.cs @@ -108,26 +108,7 @@ namespace Handbrake.Functions // Picture Settings Tab
#region Picture
-
- if (presetQuery.CropTop == "0" && presetQuery.CropBottom == "0" && presetQuery.CropLeft == "0" && presetQuery.CropRight == "0")
- {
- mainWindow.check_customCrop.Checked = true;
- mainWindow.text_top.Text = "0";
- mainWindow.text_bottom.Text = "0";
- mainWindow.text_left.Text = "0";
- mainWindow.text_right.Text = "0";
- }
- else if (presetQuery.CropTop != null && presetQuery.CropBottom != null && presetQuery.CropLeft != null && presetQuery.CropRight != null)
- {
- mainWindow.check_customCrop.Checked = true;
- mainWindow.text_top.Text = presetQuery.CropTop;
- mainWindow.text_bottom.Text = presetQuery.CropBottom;
- mainWindow.text_left.Text = presetQuery.CropLeft;
- mainWindow.text_right.Text = presetQuery.CropRight;
- }
- else
- mainWindow.check_autoCrop.Checked = true;
-
+ mainWindow.check_autoCrop.Checked = true;
mainWindow.drp_deInterlace_option.Text = presetQuery.DeInterlace;
mainWindow.drp_deNoise.Text = presetQuery.DeNoise;
@@ -499,6 +480,8 @@ namespace Handbrake.Functions {
string query = "";
+ query += " -f " + mainWindow.drop_format.Text.ToLower().Replace(" file", "");
+
// Picture Settings Tab
#region Picture Settings Tab
|