summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index bad59d7b8..40aa39034 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -525,7 +525,7 @@ namespace Handbrake
encodeQueue.pauseEncodeQueue();
// Allow the CLI to exit cleanly
- Win32.SetForegroundWindow(encodeQueue.encodeProcess.processHandle);
+ Win32.SetForegroundWindow((int)encodeQueue.encodeHandler.processHandle);
SendKeys.Send("^C");
// Update the GUI
@@ -1561,7 +1561,7 @@ namespace Handbrake
{
try
{
- Parser encode = new Parser(encodeQueue.encodeProcess.hbProcProcess.StandardOutput.BaseStream);
+ Parser encode = new Parser(encodeQueue.encodeHandler.hbProcess.StandardOutput.BaseStream);
encode.OnEncodeProgress += encodeOnEncodeProgress;
while (!encode.EndOfStream)
{