summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-09-11 21:34:05 +0000
committersr55 <[email protected]>2008-09-11 21:34:05 +0000
commite8eecb6a769f4ab46b6820ff642c9b817c1c5e11 (patch)
tree06c306e577560d6548cee9e8bc66b55d04656c6d /win/C#/frmMain.cs
parent3542367d63f7fb4d443645e5a61ff60ae709382b (diff)
WinGui:
- Slider control for deblock. - Fix: Load normal preset if userdefault setting string is empty. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1690 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs15
1 files changed, 13 insertions, 2 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 323d49f8e..5d8886746 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -161,8 +161,13 @@ namespace Handbrake
// Try to load the users default settings.
string userDefaults = Properties.Settings.Default.defaultUserSettings;
- Functions.QueryParser presetQuery = Functions.QueryParser.Parse(userDefaults);
- hb_common_func.presetLoader(this, presetQuery, "User Defaults ");
+ if (userDefaults == "")
+ loadNormalPreset();
+ else
+ {
+ Functions.QueryParser presetQuery = Functions.QueryParser.Parse(userDefaults);
+ hb_common_func.presetLoader(this, presetQuery, "User Defaults ");
+ }
}
private void queueRecovery()
{
@@ -816,6 +821,10 @@ namespace Handbrake
text_width.Enabled = true;
}
}
+ private void slider_deblock_Scroll(object sender, EventArgs e)
+ {
+ lbl_deblockVal.Text = slider_deblock.Value.ToString();
+ }
// Audio Tab
private void drp_track2Audio_SelectedIndexChanged(object sender, EventArgs e)
@@ -1887,6 +1896,8 @@ namespace Handbrake
#endregion
+
+
// This is the END of the road ------------------------------------------------------------------------------
}
} \ No newline at end of file