diff options
author | sr55 <[email protected]> | 2011-07-31 18:57:31 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-07-31 18:57:31 +0000 |
commit | 7f0a86bd7811b82cb5b086ea960ef7ccc054d3bd (patch) | |
tree | a3c87cb0a2054d7b1362e13d70c26af305f51cf2 /win/CS/HandBrake.ApplicationServices | |
parent | 0ec1780ee70bb9e1270aaaa7cf1fcc40e78a0aa8 (diff) |
WinGui: Usability Improvements on the Audio and Subtitle tabs.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4145 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/ScanService.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs b/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs index ace330c42..3c2a736e8 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs @@ -206,6 +206,7 @@ namespace HandBrake.ApplicationServices.Services // Quick fix for "F:\\" style paths. Just get rid of the \\ so the CLI doesn't fall over.
// Sould probably clean up the escaping of the strings later.
string source = sourcePath.ToString().EndsWith("\\") ? sourcePath.ToString() : "\"" + sourcePath + "\"";
+ string query = string.Format(@" -i {0} -t{1} {2} -v ", source, title, extraArguments);
this.hbProc = new Process
{
@@ -234,7 +235,10 @@ namespace HandBrake.ApplicationServices.Services if (this.readData.Buffer.Length < 100000000)
{
scanLog.WriteLine(GeneralUtilities.CreateCliLogHeader());
+ scanLog.WriteLine(query);
scanLog.Write(this.readData.Buffer);
+
+ this.logBuffer.AppendLine(query);
this.logBuffer.AppendLine(this.readData.Buffer.ToString());
}
else
|