summaryrefslogtreecommitdiffstats
path: root/win/C#/HandBrake.ApplicationServices/Services/Encode.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-01-07 21:19:49 +0000
committersr55 <[email protected]>2011-01-07 21:19:49 +0000
commit9f60eb35c21d513c6ce6b272e371a279b8a32ae5 (patch)
tree8663ceb2de2b74c05bc639fdcdd720034005a1af /win/C#/HandBrake.ApplicationServices/Services/Encode.cs
parentee94883ba1b2e3d0dc432c84a2c05db5812fe1c6 (diff)
WinGui:
- First of many check-ins to refactor the ApplicationServices library to make it more friendly and reliable. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3737 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/HandBrake.ApplicationServices/Services/Encode.cs')
-rw-r--r--win/C#/HandBrake.ApplicationServices/Services/Encode.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/C#/HandBrake.ApplicationServices/Services/Encode.cs b/win/C#/HandBrake.ApplicationServices/Services/Encode.cs
index fc620ac0d..ea336a245 100644
--- a/win/C#/HandBrake.ApplicationServices/Services/Encode.cs
+++ b/win/C#/HandBrake.ApplicationServices/Services/Encode.cs
@@ -12,6 +12,7 @@ namespace HandBrake.ApplicationServices.Services
using System.Threading;
using System.Windows.Forms;
+ using HandBrake.ApplicationServices.EventArgs;
using HandBrake.Framework.Services;
using HandBrake.Framework.Services.Interfaces;
using HandBrake.ApplicationServices.Functions;
@@ -535,7 +536,7 @@ namespace HandBrake.ApplicationServices.Services
{
AverageFrameRate = avg,
CurrentFrameRate = currentFps,
- EstimatedTimeLeft = timeRemaining,
+ EstimatedTimeLeft = Converters.EncodeToTimespan(timeRemaining),
PercentComplete = percentComplete,
Task = currentTask,
TaskCount = taskCount