summaryrefslogtreecommitdiffstats
path: root/win/C#/HandBrake.ApplicationServices
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/HandBrake.ApplicationServices')
-rw-r--r--win/C#/HandBrake.ApplicationServices/EncodeProgressEventArgs.cs5
-rw-r--r--win/C#/HandBrake.ApplicationServices/Services/Encode.cs3
2 files changed, 7 insertions, 1 deletions
diff --git a/win/C#/HandBrake.ApplicationServices/EncodeProgressEventArgs.cs b/win/C#/HandBrake.ApplicationServices/EncodeProgressEventArgs.cs
index 8939e11c2..f51b3ab57 100644
--- a/win/C#/HandBrake.ApplicationServices/EncodeProgressEventArgs.cs
+++ b/win/C#/HandBrake.ApplicationServices/EncodeProgressEventArgs.cs
@@ -36,5 +36,10 @@ namespace HandBrake.ApplicationServices
/// Gets or sets Task.
/// </summary>
public int Task { get; set; }
+
+ /// <summary>
+ /// Gets or sets TaskCount.
+ /// </summary>
+ public int TaskCount { get; set; }
}
}
diff --git a/win/C#/HandBrake.ApplicationServices/Services/Encode.cs b/win/C#/HandBrake.ApplicationServices/Services/Encode.cs
index d4e971e63..cb6dbee7d 100644
--- a/win/C#/HandBrake.ApplicationServices/Services/Encode.cs
+++ b/win/C#/HandBrake.ApplicationServices/Services/Encode.cs
@@ -595,7 +595,8 @@ namespace HandBrake.ApplicationServices.Services
CurrentFrameRate = currentFps,
EstimatedTimeLeft = timeRemaining,
PercentComplete = percentComplete,
- Task = currentTask
+ Task = currentTask,
+ TaskCount = taskCount
};
if (this.EncodeStatusChanged != null)