summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Interop/Model/Preview/PreviewSettings.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Interop/Model/Preview/PreviewSettings.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Interop/Model/Preview/PreviewSettings.cs20
1 files changed, 0 insertions, 20 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Model/Preview/PreviewSettings.cs b/win/CS/HandBrake.ApplicationServices/Interop/Model/Preview/PreviewSettings.cs
index 8cf266d7e..d413e003b 100644
--- a/win/CS/HandBrake.ApplicationServices/Interop/Model/Preview/PreviewSettings.cs
+++ b/win/CS/HandBrake.ApplicationServices/Interop/Model/Preview/PreviewSettings.cs
@@ -10,7 +10,6 @@
namespace HandBrake.ApplicationServices.Interop.Model.Preview
{
using HandBrake.ApplicationServices.Interop.Model.Encoding;
- using HandBrake.ApplicationServices.Services.Encode.Model;
/// <summary>
/// The preview settings.
@@ -25,25 +24,6 @@ namespace HandBrake.ApplicationServices.Interop.Model.Preview
}
/// <summary>
- /// Initializes a new instance of the <see cref="PreviewSettings"/> class.
- /// </summary>
- /// <param name="task">The task.</param>
- public PreviewSettings(EncodeTask task)
- {
- this.Cropping = new Cropping(task.Cropping);
- this.MaxWidth = task.MaxWidth ?? 0;
- this.MaxHeight = task.MaxHeight ?? 0;
- this.KeepDisplayAspect = task.KeepDisplayAspect;
- this.TitleNumber = task.Title;
- this.Anamorphic = task.Anamorphic;
- this.Modulus = task.Modulus;
- this.Width = task.Width ?? 0;
- this.Height = task.Height ?? 0;
- this.PixelAspectX = task.PixelAspectX;
- this.PixelAspectY = task.PixelAspectY;
- }
-
- /// <summary>
/// Gets or sets the cropping.
/// </summary>
public Cropping Cropping { get; set; }