diff options
author | sr55 <[email protected]> | 2010-08-27 20:09:10 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-08-27 20:09:10 +0000 |
commit | 074c6d3a218bebc98ac1d4cd0bd15c2ff2f42492 (patch) | |
tree | f9fbab79a4ca4d9b8c385bd81e6c5050daf69e7c /win/C#/frmOptions.cs | |
parent | 2bc197b2073a28497175e98d0bf6ee0b52652ca0 (diff) |
WinGui:
- Added a new option which allows the autoname feature to output to the source directory. It will append output_ to the start of the filename, if the auto-generated name is the same as the source file.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3496 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r-- | win/C#/frmOptions.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs index eaa318d85..c6519e11a 100644 --- a/win/C#/frmOptions.cs +++ b/win/C#/frmOptions.cs @@ -23,6 +23,7 @@ namespace Handbrake public partial class frmOptions : Form
{
private frmMain mainWindow;
+ private bool optionsWindowLoading = true;
public frmOptions(frmMain mw)
{
@@ -198,6 +199,8 @@ namespace Handbrake // Use Experimental dvdnav
if (Properties.Settings.Default.noDvdNav)
check_dvdnav.CheckState = CheckState.Checked;
+
+ optionsWindowLoading = false;
}
#region General
@@ -268,6 +271,13 @@ namespace Handbrake }
else
Properties.Settings.Default.autoNamePath = text_an_path.Text;
+
+ if (text_an_path.Text == "{source}" && !optionsWindowLoading)
+ {
+ MessageBox.Show(
+ "Be careful with this feature. Make sure you can write to the same folder as the source! \n\n If you are encoding from a DVD, do not use this feature as HandBrake will not be able to write to the DVD!",
+ "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+ }
}
private void check_m4v_CheckedChanged(object sender, EventArgs e)
|