summaryrefslogtreecommitdiffstats
path: root/win/C#/frmQueue.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-01-30 23:52:47 +0000
committersr55 <[email protected]>2010-01-30 23:52:47 +0000
commit377768a2a90f5b470a1c047a02f4c998a8b348b4 (patch)
tree90ce0b844e17f6525a75805811555bde12cb6bcd /win/C#/frmQueue.cs
parent971ab73d6af6d07838922a667648c97e2f07c041 (diff)
WinGui:
- Added some code to allow direct execution of the CLI rather than using CMD. This may be useful later on. - Re-factoring. Added Many code comments / Cleaned up some code style issues. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3088 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmQueue.cs')
-rw-r--r--win/C#/frmQueue.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/win/C#/frmQueue.cs b/win/C#/frmQueue.cs
index 739413cef..326fb7241 100644
--- a/win/C#/frmQueue.cs
+++ b/win/C#/frmQueue.cs
@@ -10,6 +10,7 @@ using System.ComponentModel;
using System.Windows.Forms;
using Handbrake.EncodeQueue;
using System.Collections.ObjectModel;
+using Handbrake.Model;
namespace Handbrake
{
@@ -26,7 +27,7 @@ namespace Handbrake
this.mainWindow = mw;
this.queue = q;
- queue.NewJobStarted += new EventHandler(QueueOnEncodeStart);
+ queue.EncodeStarted += new EventHandler(QueueOnEncodeStart);
queue.QueueCompleted += new EventHandler(QueueOnQueueFinished);
queue.QueuePauseRequested += new EventHandler(QueueOnPaused);
}
@@ -176,7 +177,7 @@ namespace Handbrake
// Display The Audio Track Information
string audio = string.Empty;
- foreach (Functions.AudioTrack track in parsed.AudioInformation)
+ foreach (AudioTrack track in parsed.AudioInformation)
{
if (audio != "")
audio += ", " + track.Encoder;
@@ -229,7 +230,7 @@ namespace Handbrake
// Display The Audio Track Information
string audio = string.Empty;
- foreach (Functions.AudioTrack track in parsed.AudioInformation)
+ foreach (AudioTrack track in parsed.AudioInformation)
{
if (audio != "")
audio += ", " + track.Encoder;