From 376eae49e2c14f4acdbd644908e162ac6a2c5c3e Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 4 Mar 2012 16:27:56 +0000 Subject: WinGui: (WPF) Add basic Preview window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4495 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../Model/EncodeTask.cs | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'win/CS/HandBrake.ApplicationServices/Model/EncodeTask.cs') 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 - /// /// Initializes a new instance of the 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 + /// /// Gets or sets Source. /// @@ -421,6 +424,19 @@ namespace HandBrake.ApplicationServices.Model #endregion + #region Preview + + /// + /// Gets or sets StartAt. + /// + public int? PreviewStartAt { get; set; } + + /// + /// Gets or sets Duration. + /// + public int? PreviewDuration { get; set; } + #endregion + #region Preset Information (TODO This should probably be dropped) /// -- cgit v1.2.3