summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-07-16 15:20:49 +0000
committersr55 <[email protected]>2011-07-16 15:20:49 +0000
commita3ceaf6979ff137b3e71ebaeee3a52942aeac3fa (patch)
tree71aea12c217d4013cbe03a30d8330290d84c0d2f /win/CS/HandBrake.ApplicationServices/Services
parent7115956c6beb4f62cd8718a39bb4206ff726d890 (diff)
WinGui: Starting to remove model objects from the Application Services module that are duplicated in the Interop Library
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4109 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/LibScan.cs9
1 files changed, 2 insertions, 7 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs b/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs
index 2ee0c172e..854a561bd 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs
@@ -15,9 +15,9 @@ namespace HandBrake.ApplicationServices.Services
using HandBrake.ApplicationServices.Parsing;
using HandBrake.ApplicationServices.Services.Interfaces;
using HandBrake.Interop;
+ using HandBrake.Interop.Model;
using AudioTrack = HandBrake.ApplicationServices.Parsing.Audio;
- using Cropping = HandBrake.ApplicationServices.Model.Encoding.Cropping;
using ScanProgressEventArgs = HandBrake.Interop.ScanProgressEventArgs;
using Size = System.Drawing.Size;
@@ -283,12 +283,7 @@ namespace HandBrake.ApplicationServices.Services
AspectRatio = title.AspectRatio,
AngleCount = title.AngleCount,
ParVal = new Size(title.ParVal.Width, title.ParVal.Height),
- AutoCropDimensions =
- new Cropping(
- title.AutoCropDimensions.Top,
- title.AutoCropDimensions.Bottom,
- title.AutoCropDimensions.Left,
- title.AutoCropDimensions.Right),
+ AutoCropDimensions = title.AutoCropDimensions,
Fps = title.Framerate
};