summaryrefslogtreecommitdiffstats
path: root/win/C#/frmPreview.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-05-23 14:57:00 +0000
committersr55 <[email protected]>2009-05-23 14:57:00 +0000
commitee294958088a96ca232a1334eea6542dd7e30d60 (patch)
tree56fd62f1f300c731ee3316b52a8d65dc247bc695 /win/C#/frmPreview.cs
parentb1ef4b866e0a29e3274d521eb0b768d48195fc9e (diff)
WinGui:WinGui:
- Stop button, now allows the CLI to cleanly exit by sending ctrl-c rather than killing the process. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2444 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmPreview.cs')
-rw-r--r--win/C#/frmPreview.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/C#/frmPreview.cs b/win/C#/frmPreview.cs
index 946f04947..7ea472772 100644
--- a/win/C#/frmPreview.cs
+++ b/win/C#/frmPreview.cs
@@ -5,6 +5,7 @@ using System.Diagnostics;
using System.Runtime.InteropServices;
using System.IO;
using AxQTOControlLib;
+using Handbrake.EncodeQueue;
using Handbrake.Functions;
using QTOControlLib;
using QTOLibrary;
@@ -88,7 +89,7 @@ namespace Handbrake
MessageBox.Show(this, "Handbrake is already encoding a video!", "Status", MessageBoxButtons.OK, MessageBoxIcon.Warning);
else
{
- hbProc = process.runCli((string)state);
+ hbProc = process.runCli((string)state).hbProcProcess;
hbProc.WaitForExit();
hbProc = null;
encodeCompleted();