summaryrefslogtreecommitdiffstats
path: root/win/C#/HandBrake.ApplicationServices
diff options
context:
space:
mode:
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 */