diff options
author | sr55 <[email protected]> | 2008-12-16 18:01:48 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-12-16 18:01:48 +0000 |
commit | 89b5566c50b3f19c760351845a85c3efa4afe10f (patch) | |
tree | a53adf8349e8da34b95f2c61c90d1f9c09b67195 /win/C#/frmOptions.cs | |
parent | c26a35a7b7a5839946123c9670aac337c8bcf518 (diff) |
WinGui:
- Preview Generator Window. Can generate previews form 5 to 60 seconds long. Will launch VLC (from a user specified (in options) install path) to play back the clip.
Note: Clip duration is currently waiting for a patch to the CLI, so this part won't work yet.
- Experimental in-gui VLC media player via ActiveX. (This causes a Blue Screen of Death (See comments in code), however if anyone can fix this and submit a patch, id be grateful) Alternative suggestions welcome!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2036 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r-- | win/C#/frmOptions.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs index 4e6d698e2..d139998ed 100644 --- a/win/C#/frmOptions.cs +++ b/win/C#/frmOptions.cs @@ -66,6 +66,9 @@ namespace Handbrake // Store decomb value string
txt_decomb.Text = Properties.Settings.Default.decomb;
+ // VLC Path
+ txt_vlcPath.Text = Properties.Settings.Default.VLC_Path;
+
// #############################
// CLI
// #############################
@@ -176,6 +179,17 @@ namespace Handbrake {
Properties.Settings.Default.decomb = txt_decomb.Text;
}
+
+ private void btn_vlcPath_Click(object sender, EventArgs e)
+ {
+ openFile_vlc.ShowDialog();
+ if (openFile_vlc.FileName != string.Empty)
+ txt_vlcPath.Text = openFile_vlc.FileName;
+ }
+ private void txt_vlcPath_TextChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.VLC_Path = txt_vlcPath.Text;
+ }
#endregion
#region CLI
@@ -240,5 +254,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 |