diff options
author | sr55 <[email protected]> | 2011-06-15 17:45:06 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-06-15 17:45:06 +0000 |
commit | b957ee1aaba01b06d9f8b3f26e0385eba061baf2 (patch) | |
tree | 6ca577f1f7cb978c1311b444be9bcac5da4ad373 /win/CS/HandBrake.ApplicationServices/Services/Base | |
parent | 4d7216fba8652a83821be49cd16cc851b5cc4cd2 (diff) |
WinGui:
- Correctly set the number of previews to generate during Scan
- Fix an issue where the CLI query is not printed to the log window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4061 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/Base')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/Base/EncodeBase.cs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Base/EncodeBase.cs b/win/CS/HandBrake.ApplicationServices/Services/Base/EncodeBase.cs index ca9558175..978d4c9af 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/Base/EncodeBase.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/Base/EncodeBase.cs @@ -46,7 +46,7 @@ namespace HandBrake.ApplicationServices.Services.Base /// <summary>
/// The Log File Header
/// </summary>
- private StringBuilder header = GeneralUtilities.CreateCliLogHeader(null);
+ private StringBuilder header = GeneralUtilities.CreateCliLogHeader();
#endregion
@@ -244,8 +244,11 @@ namespace HandBrake.ApplicationServices.Services.Base try
{
this.logBuffer = new StringBuilder();
+ this.logBuffer.AppendLine(String.Format("CLI Query: {0}", encodeQueueTask.Query));
+ this.logBuffer.AppendLine(String.Format("User Query: {0}", encodeQueueTask.CustomQuery));
+ this.logBuffer.AppendLine();
- // Clear the current Encode Logs
+ // Clear the current Encode Logs)
if (File.Exists(logFile))
{
File.Delete(logFile);
@@ -257,7 +260,10 @@ namespace HandBrake.ApplicationServices.Services.Base }
this.fileWriter = new StreamWriter(logFile) { AutoFlush = true };
- this.fileWriter.WriteLine(GeneralUtilities.CreateCliLogHeader(encodeQueueTask));
+ this.fileWriter.WriteLine(GeneralUtilities.CreateCliLogHeader());
+ this.fileWriter.WriteLine(String.Format("CLI Query: {0}", encodeQueueTask.Query));
+ this.fileWriter.WriteLine(String.Format("User Query: {0}", encodeQueueTask.CustomQuery));
+ this.fileWriter.WriteLine();
}
catch (Exception)
{
|