summaryrefslogtreecommitdiffstats
path: root/win/C#/HandBrake.ApplicationServices
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-07-15 20:26:10 +0000
committersr55 <[email protected]>2010-07-15 20:26:10 +0000
commit4550858b9cf0bd1d0d3a189059ebbc108898b722 (patch)
tree71785b5dfabdb7f1bd61f79177e1ea123a47ab14 /win/C#/HandBrake.ApplicationServices
parent6c9b4d2c4cf5928bb2b472beca76c2edc4c41f03 (diff)
WinGui:
- Fix an exception in the encode service safeStop method. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3441 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/HandBrake.ApplicationServices')
-rw-r--r--win/C#/HandBrake.ApplicationServices/Services/Encode.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/win/C#/HandBrake.ApplicationServices/Services/Encode.cs b/win/C#/HandBrake.ApplicationServices/Services/Encode.cs
index f0a2b1fe4..b1833debc 100644
--- a/win/C#/HandBrake.ApplicationServices/Services/Encode.cs
+++ b/win/C#/HandBrake.ApplicationServices/Services/Encode.cs
@@ -175,7 +175,7 @@ namespace HandBrake.ApplicationServices.Services
}
this.processID = HbProcess.Id;
- this.processHandle = HbProcess.MainWindowHandle;
+ this.processHandle = HbProcess.Handle;
// Set the process Priority
if (this.processID != -1)
@@ -252,11 +252,11 @@ namespace HandBrake.ApplicationServices.Services
SendKeys.Send("^C");
SendKeys.Flush();
- if (HbProcess != null)
- {
- HbProcess.StandardInput.AutoFlush = true;
- HbProcess.StandardInput.WriteLine("^C");
- }
+ //if (HbProcess != null)
+ //{
+ // HbProcess.StandardInput.AutoFlush = true;
+ // HbProcess.StandardInput.WriteLine("^C");
+ //}
}
/* Helpers */