From c315f3cf228d84ab67c75c7f8fa7221379e88600 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 5 Feb 2011 21:37:49 +0000 Subject: WinGui: - Another round of refactoring. Query Parsing and Plist handling code moved to application services utilities namespace. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3781 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../Model/EncodeTask.cs | 65 ++++++++++++++++++---- 1 file changed, 55 insertions(+), 10 deletions(-) (limited to 'win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs') diff --git a/win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs b/win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs index a735902c1..8b561f496 100644 --- a/win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs +++ b/win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs @@ -19,6 +19,7 @@ namespace HandBrake.ApplicationServices.Model /// public EncodeTask() { + this.Cropping = new Cropping(); } #region Source @@ -124,7 +125,7 @@ namespace HandBrake.ApplicationServices.Model /// /// Gets or sets DisplayWidth. /// - public int DisplayWidth { get; set; } + public double DisplayWidth { get; set; } /// /// Gets or sets a value indicating whether KeepDisplayAspect. @@ -205,22 +206,32 @@ namespace HandBrake.ApplicationServices.Model /// /// Gets or sets VideoEncodeRateType. /// - public VideoEncodeMode VideoEncodeRateType { get; set; } + public VideoEncodeRateMode VideoEncodeRateType { get; set; } + + /// + /// Gets or sets the VideoEncoder + /// + public VideoEncoder VideoEncoder { get; set; } + + /// + /// Gets or sets the Video Encode Mode + /// + public FramerateMode FramerateMode { get; set; } /// /// Gets or sets Quality. /// - public double Quality { get; set; } + public double? Quality { get; set; } /// /// Gets or sets TargetSize. /// - public int TargetSize { get; set; } + public int? TargetSize { get; set; } /// /// Gets or sets VideoBitrate. /// - public int VideoBitrate { get; set; } + public int? VideoBitrate { get; set; } /// /// Gets or sets a value indicating whether TwoPass. @@ -238,11 +249,6 @@ namespace HandBrake.ApplicationServices.Model /// public double? Framerate { get; set; } - /// - /// Gets or sets a value indicating whether PeakFramerate. - /// - public bool PeakFramerate { get; set; } - #endregion #region Audio @@ -281,6 +287,45 @@ namespace HandBrake.ApplicationServices.Model /// Gets or sets X264Options. /// public string X264Options { get; set; } + + #endregion + + #region Preset Information (TODO This should probably be dropped) + + /// + /// Gets or sets PresetBuildNumber. + /// + public int PresetBuildNumber { get; set; } + + /// + /// Gets or sets PresetDescription. + /// + public string PresetDescription { get; set; } + + /// + /// Gets or sets PresetName. + /// + public string PresetName { get; set; } + + /// + /// Gets or sets Type. + /// + public string Type { get; set; } + + /// + /// Gets or sets a value indicating whether UsesMaxPictureSettings. + /// + public bool UsesMaxPictureSettings { get; set; } + + /// + /// Gets or sets a value indicating whether UsesPictureFilters. + /// + public bool UsesPictureFilters { get; set; } + + /// + /// Gets or sets a value indicating whether UsesPictureSettings. + /// + public bool UsesPictureSettings { get; set; } #endregion } } -- cgit v1.2.3