diff options
author | sr55 <[email protected]> | 2009-07-23 20:10:29 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-07-23 20:10:29 +0000 |
commit | c27af07ac1576c950ba8f1967ee32b9a1fcf43f1 (patch) | |
tree | 4fe1e6dad0a75031eeddb19f2f58afe4d70698d7 /win/C#/frmQueue.cs | |
parent | c20851de01a73ec1148207b858d7fe79ce7c98a5 (diff) |
WinGui:
- getCliProcess(): This is now massively faster at returning the process ID of HandBrakeCLI. This means that the GUI updates it's elements far faster instead of the noticeable few seconds pause when an encode starts. This also fixes an error message that would appear if the CLI process quit before the GUI was setup.
- Code re factoring in Main.cs. Reduced the amount of code needed for a few functions.
- Combined the Encode and Queue handler. This just makes things a bit easier when other parts of the GUI need the encode process info. The new CLI handling code is not in yet.
- Added the CLI build environment to the About window
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2726 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmQueue.cs')
-rw-r--r-- | win/C#/frmQueue.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/C#/frmQueue.cs b/win/C#/frmQueue.cs index d52545b0b..e110a470e 100644 --- a/win/C#/frmQueue.cs +++ b/win/C#/frmQueue.cs @@ -16,9 +16,9 @@ namespace Handbrake public partial class frmQueue : Form
{
private delegate void UpdateHandler();
- private QueueHandler queue;
+ private EncodeAndQueueHandler queue;
- public frmQueue(QueueHandler q)
+ public frmQueue(EncodeAndQueueHandler q)
{
InitializeComponent();
@@ -81,7 +81,7 @@ namespace Handbrake MessageBox.Show("Encoding restarted", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
- if (!queue.IsEncoding)
+ if (!queue.isEncoding)
queue.StartEncodeQueue();
}
|