summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop/HandBrakeInterop/EncodeProgressEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop/EncodeProgressEventArgs.cs')
-rw-r--r--win/CS/HandBrake.Interop/HandBrakeInterop/EncodeProgressEventArgs.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/EncodeProgressEventArgs.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/EncodeProgressEventArgs.cs
new file mode 100644
index 000000000..484ea7b7b
--- /dev/null
+++ b/win/CS/HandBrake.Interop/HandBrakeInterop/EncodeProgressEventArgs.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace HandBrake.Interop
+{
+ public class EncodeProgressEventArgs : EventArgs
+ {
+ public float FractionComplete { get; set; }
+ public float CurrentFrameRate { get; set; }
+ public float AverageFrameRate { get; set; }
+ public TimeSpan EstimatedTimeLeft { get; set; }
+
+ /// <summary>
+ /// Gets or sets the current encoding pass. (-1: subtitle scan, 1: first pass, 2: second pass)
+ /// </summary>
+ public int Pass { get; set; }
+ }
+}