diff options
author | sr55 <[email protected]> | 2012-03-04 16:27:56 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-03-04 16:27:56 +0000 |
commit | 376eae49e2c14f4acdbd644908e162ac6a2c5c3e (patch) | |
tree | 1093c1625c7a1c4399b9d114eb7bbecba9c4b65c /win/CS/HandBrake.ApplicationServices/Model | |
parent | 24bbf1b361a7b9cb78208b43cfec59173757ae24 (diff) |
WinGui: (WPF) Add basic Preview window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4495 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Model')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Model/EncodeTask.cs | 20 |
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>
|