summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/Encode.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-11-26 19:32:53 +0000
committersr55 <[email protected]>2008-11-26 19:32:53 +0000
commite8b7af4abd15d0035f69ebd96cc592e171d2ae43 (patch)
tree0826c5d09461ee6eb6eb5fe3022a0bdd875d161b /win/C#/Functions/Encode.cs
parent80fa9daad46cf5281b71ed287868e535fa9fbdb9 (diff)
WinGui:
- The Queue Recovery, inport/export features now use an XML based file system rather than text file. - Queue now uses class based Queue Items for storing data rather than an arraylist. - Fixes an issue where the source and/or destination would not show up in the list of queue items. - Queue progress meter will now update correctly if a user adds more items to the queue after starting the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1958 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/Encode.cs')
-rw-r--r--win/C#/Functions/Encode.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/C#/Functions/Encode.cs b/win/C#/Functions/Encode.cs
index 0445392d0..471acb586 100644
--- a/win/C#/Functions/Encode.cs
+++ b/win/C#/Functions/Encode.cs
@@ -133,7 +133,7 @@ namespace Handbrake.Functions
/// if this feature is enabled in options.
/// </summary>
/// <param name="query"></param>
- public void copyLog(string query)
+ public void copyLog(string query, string destination)
{
// The user may wish to do something with the log.
if (Properties.Settings.Default.saveLog == "Checked")
@@ -143,7 +143,7 @@ namespace Handbrake.Functions
if (Properties.Settings.Default.saveLogWithVideo == "Checked")
{
- string[] destName = parsed.Destination.Split('\\');
+ string[] destName = destination.Split('\\');
string destinationFile = "";
for (int i = 0; i < destName.Length - 1; i++)
{
@@ -156,7 +156,7 @@ namespace Handbrake.Functions
}
else if (Properties.Settings.Default.saveLogPath != String.Empty)
{
- string[] destName = parsed.Destination.Split('\\');
+ string[] destName = destination.Split('\\');
string dest = destName[destName.Length - 1];
string filename = DateTime.Now.ToString().Replace("/", "-").Replace(":", "-") + " " + dest + ".txt";
string useDefinedLogPath = Path.Combine(Properties.Settings.Default.saveLogPath, filename);