summaryrefslogtreecommitdiffstats
path: root/win/C#
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-12-02 14:10:23 +0000
committersr55 <[email protected]>2008-12-02 14:10:23 +0000
commit32da53991abe60bd71b30de3c65b171991178be8 (patch)
tree3ddca621287778471f33d3c0cc47470af83657c5 /win/C#
parent29f8a536e11e713e6f8d983aca4405ab017a21e7 (diff)
WinGui:
- Allows crop 0000 to be stored in presets. Sorry, forgot to change this when the PS3 preset started using it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1988 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#')
-rw-r--r--win/C#/frmMain.cs1
-rw-r--r--win/C#/frmMain/PresetLoader.cs4
2 files changed, 4 insertions, 1 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index a7b720b3d..54a698f5e 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -709,7 +709,6 @@ namespace Handbrake
drp_track1Audio.Items.AddRange(selectedTitle.AudioTracks.ToArray());
drp_track1Audio.SelectedIndex = 0;
-
if (!treeView_presets.SelectedNode.Text.Contains("AppleTV"))
{
drp_track2Audio.Items.Clear();
diff --git a/win/C#/frmMain/PresetLoader.cs b/win/C#/frmMain/PresetLoader.cs
index f6294709c..67ff53087 100644
--- a/win/C#/frmMain/PresetLoader.cs
+++ b/win/C#/frmMain/PresetLoader.cs
@@ -77,6 +77,10 @@ namespace Handbrake
// Picture Settings Tab
#region Picture
mainWindow.check_autoCrop.Checked = true;
+ if (presetQuery.CropBottom == "0" && presetQuery.CropTop == "0")
+ if (presetQuery.CropLeft == "0" && presetQuery.CropRight == "0")
+ mainWindow.check_customCrop.Checked = true;
+
mainWindow.drp_deInterlace_option.Text = presetQuery.DeInterlace;
mainWindow.drp_deNoise.Text = presetQuery.DeNoise;