summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-08-07 21:33:19 +0000
committersr55 <[email protected]>2011-08-07 21:33:19 +0000
commite9eb3f1ab503a765f44d68ac91ffddfec4d3cd20 (patch)
tree9d84f4b526a014fdac6a18dd0c5585cd98029923
parent69d24d74273fde9bb4c790755c95575b4e6c3c0c (diff)
WinGui: Removed some unneeded code
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4162 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs10
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/Encode.cs1
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs1
3 files changed, 0 insertions, 12 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs b/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs
index aa71a2819..cee9ad36f 100644
--- a/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs
+++ b/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs
@@ -72,16 +72,6 @@ namespace HandBrake.ApplicationServices.Model
public QueueItemStatus Status { get; set; }
/// <summary>
- /// Gets or sets StartTime.
- /// </summary>
- public DateTime StartTime { get; set; }
-
- /// <summary>
- /// Gets or sets ElaspedEncodeTime.
- /// </summary>
- public TimeSpan ElaspedEncodeTime { get; set; }
-
- /// <summary>
/// Gets or sets the Encode Task.
/// </summary>
public EncodeTask Task { get; set; }
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Encode.cs b/win/CS/HandBrake.ApplicationServices/Services/Encode.cs
index 953831732..6acfe5807 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/Encode.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/Encode.cs
@@ -169,7 +169,6 @@ namespace HandBrake.ApplicationServices.Services
}
catch (Exception exc)
{
- TimeSpan time = DateTime.Now.Subtract(this.currentTask.StartTime);
this.Invoke_encodeCompleted(
new EncodeCompletedEventArgs(
false, exc, "An Error occured when trying to encode this source. "));
diff --git a/win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs b/win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs
index d8ebbf31e..da8ac5433 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs
@@ -212,7 +212,6 @@ namespace HandBrake.ApplicationServices.Services
if (job != null)
{
job.Status = QueueItemStatus.InProgress;
- job.StartTime = DateTime.Now;
this.LastProcessedJob = job;
InvokeQueueChanged(EventArgs.Empty);
}