summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Model
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Model')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Model/EncodeTask.cs20
1 files changed, 18 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/EncodeTask.cs b/win/CS/HandBrake.ApplicationServices/Model/EncodeTask.cs
index 16d8d1694..6e2d59667 100644
--- a/win/CS/HandBrake.ApplicationServices/Model/EncodeTask.cs
+++ b/win/CS/HandBrake.ApplicationServices/Model/EncodeTask.cs
@@ -32,8 +32,6 @@ namespace HandBrake.ApplicationServices.Model
this.AllowedPassthruOptions = new AllowedPassthru();
}
- #region Source
-
/// <summary>
/// Initializes a new instance of the <see cref="EncodeTask"/> class.
/// Copy Constructor
@@ -121,8 +119,13 @@ namespace HandBrake.ApplicationServices.Model
this.x264Preset = task.x264Preset;
this.x264Profile = task.x264Profile;
this.X264Tune = task.X264Tune;
+
+ this.PreviewStartAt = task.PreviewStartAt;
+ this.PreviewDuration = task.PreviewDuration;
}
+ #region Source
+
/// <summary>
/// Gets or sets Source.
/// </summary>
@@ -421,6 +424,19 @@ namespace HandBrake.ApplicationServices.Model
#endregion
+ #region Preview
+
+ /// <summary>
+ /// Gets or sets StartAt.
+ /// </summary>
+ public int? PreviewStartAt { get; set; }
+
+ /// <summary>
+ /// Gets or sets Duration.
+ /// </summary>
+ public int? PreviewDuration { get; set; }
+ #endregion
+
#region Preset Information (TODO This should probably be dropped)
/// <summary>