summaryrefslogtreecommitdiffstats
path: root/win/C#/HandBrake.ApplicationServices/Services/Scan.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-07-17 22:25:01 +0000
committersr55 <[email protected]>2010-07-17 22:25:01 +0000
commit561aa6ec3b4f018a4e76d1a57c7ffd6f0e7ded70 (patch)
treeb320ca795db14f25259c8d01f5f03222b25a8db6 /win/C#/HandBrake.ApplicationServices/Services/Scan.cs
parent4cacc7fd60440725739f4560f14eadf40e335890 (diff)
WinGui:
- Some tweaks to the Logging code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3445 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/HandBrake.ApplicationServices/Services/Scan.cs')
-rw-r--r--win/C#/HandBrake.ApplicationServices/Services/Scan.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/C#/HandBrake.ApplicationServices/Services/Scan.cs b/win/C#/HandBrake.ApplicationServices/Services/Scan.cs
index 039cb3f3d..04c35e36f 100644
--- a/win/C#/HandBrake.ApplicationServices/Services/Scan.cs
+++ b/win/C#/HandBrake.ApplicationServices/Services/Scan.cs
@@ -191,10 +191,11 @@ namespace HandBrake.ApplicationServices.Services
// Write the Buffer out to file.
StreamWriter scanLog = new StreamWriter(dvdInfoPath);
+ scanLog.WriteLine(Logging.CreateCliLogHeader(null));
scanLog.Write(this.readData.Buffer);
scanLog.Flush();
scanLog.Close();
- logBuffer = readData.Buffer;
+ logBuffer.AppendLine(this.readData.Buffer.ToString());
IsScanning = false;
@@ -268,6 +269,7 @@ namespace HandBrake.ApplicationServices.Services
{
logFilePosition = 0;
logBuffer = new StringBuilder();
+ logBuffer.AppendLine(Logging.CreateCliLogHeader(null));
}
/// <summary>