diff options
author | sr55 <[email protected]> | 2010-07-22 18:20:19 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-07-22 18:20:19 +0000 |
commit | a7a9e89446f318ae286a7cf45182b3f1dee978a6 (patch) | |
tree | 017e2548bba5315d7e32d86fe728b20f2761fb21 /win/C#/HandBrake.ApplicationServices/Services/Encode.cs | |
parent | 925dfe6a2292889fd623d4092747ad798b5d1606 (diff) |
Reverting 3452
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3454 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/HandBrake.ApplicationServices/Services/Encode.cs')
-rw-r--r-- | win/C#/HandBrake.ApplicationServices/Services/Encode.cs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/win/C#/HandBrake.ApplicationServices/Services/Encode.cs b/win/C#/HandBrake.ApplicationServices/Services/Encode.cs index ca3f898df..87b0e0027 100644 --- a/win/C#/HandBrake.ApplicationServices/Services/Encode.cs +++ b/win/C#/HandBrake.ApplicationServices/Services/Encode.cs @@ -15,6 +15,7 @@ namespace HandBrake.ApplicationServices.Services using HandBrake.ApplicationServices.Functions;
using HandBrake.ApplicationServices.Model;
using HandBrake.ApplicationServices.Parsing;
+ using HandBrake.ApplicationServices.Properties;
using HandBrake.ApplicationServices.Services.Interfaces;
/// <summary>
@@ -251,15 +252,14 @@ namespace HandBrake.ApplicationServices.Services SendKeys.Send("^C");
SendKeys.Flush();
- /*//if (HbProcess != null)
+ //if (HbProcess != null)
//{
// HbProcess.StandardInput.AutoFlush = true;
// HbProcess.StandardInput.WriteLine("^c^z");
- //}*/
+ //}
}
/* Helpers */
-
/// <summary>
/// Save a copy of the log to the users desired location or a default location
/// if this feature is enabled in options.
@@ -315,6 +315,8 @@ namespace HandBrake.ApplicationServices.Services {
IsEncoding = false;
+ // ReadFile(null);
+
if (this.EncodeEnded != null)
this.EncodeEnded(this, new EventArgs());
@@ -342,6 +344,9 @@ namespace HandBrake.ApplicationServices.Services /// <summary>
/// Read the log file
/// </summary>
+ /// <param name="n">
+ /// The object.
+ /// </param>
private void ReadFile()
{
logBuffer = new StringBuilder();
@@ -393,7 +398,6 @@ namespace HandBrake.ApplicationServices.Services /// <summary>
/// Setup the logging.
/// </summary>
- /// <param name="encodeJob">The Encode Job Object</param>
private void SetupLogging(Job encodeJob)
{
string logDir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\HandBrake\\logs";
|