summaryrefslogtreecommitdiffstats
path: root/win/C#/frmOptions.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-07-04 15:32:41 +0000
committersr55 <[email protected]>2009-07-04 15:32:41 +0000
commit2a0df5e5ee4c084082487d2e3d717860ee705738 (patch)
treeff06bd1b175cf94b135cd2f7ef81f6ac1a139a44 /win/C#/frmOptions.cs
parentbdf19259ac2d6ac94abf0fad38ce6c98e3e58460 (diff)
WinGui:
- Remove M4v from format dropdown and add new option "Use iPod/iTunes friendly (.m4v) file extension for MP4 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2662 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r--win/C#/frmOptions.cs14
1 files changed, 12 insertions, 2 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs
index 9aeeb000b..d6c9489c6 100644
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -38,7 +38,7 @@ namespace Handbrake
// On Encode Completeion Action
drp_completeOption.Text = Properties.Settings.Default.CompletionOption;
-
+
// Enable auto naming feature.
if (Properties.Settings.Default.autoNaming)
check_autoNaming.CheckState = CheckState.Checked;
@@ -51,6 +51,10 @@ namespace Handbrake
// Store auto name format
txt_autoNameFormat.Text = Properties.Settings.Default.autoNameFormat;
+ // Use iPod/iTunes friendly .m4v extension for MP4 files.
+ if (Properties.Settings.Default.useM4v)
+ check_m4v.CheckState = CheckState.Checked;
+
// #############################
// Picture Tab
// #############################
@@ -174,6 +178,11 @@ namespace Handbrake
else
Properties.Settings.Default.autoNamePath = text_an_path.Text;
}
+
+ private void check_m4v_CheckedChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.useM4v = check_m4v.Checked;
+ }
#endregion
#region Picture
@@ -313,7 +322,7 @@ namespace Handbrake
private void check_dvdnav_CheckedChanged(object sender, EventArgs e)
{
Properties.Settings.Default.dvdnav = check_dvdnav.Checked;
- }
+ }
#endregion
private void btn_close_Click(object sender, EventArgs e)
@@ -321,5 +330,6 @@ namespace Handbrake
Properties.Settings.Default.Save(); // Small hack for Vista. Seems to work fine on XP without this
this.Close();
}
+
}
} \ No newline at end of file