summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-08-15 16:00:22 +0000
committersr55 <[email protected]>2011-08-15 16:00:22 +0000
commit3e3deb33d5c5ec4aca3d6c855db646b511bf788b (patch)
tree3c2012081d7e05c428803f57ddf19911fbe16437 /win/CS/HandBrake.ApplicationServices/Functions
parentbb6b6007ea2111cac17ff5fff2f2105bb5b7e6e9 (diff)
WinGui: Remove a duplicate model object.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4174 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Functions')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs18
1 files changed, 1 insertions, 17 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs b/win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs
index 8475c9bd2..da7303c01 100644
--- a/win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs
+++ b/win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs
@@ -48,24 +48,8 @@ namespace HandBrake.ApplicationServices.Functions
EncodeJob job = new EncodeJob();
EncodingProfile profile = new EncodingProfile();
job.EncodingProfile = profile;
-
-
- switch (work.Anamorphic)
- {
- case Model.Encoding.Anamorphic.Custom:
- profile.Anamorphic = Interop.Model.Encoding.Anamorphic.Custom;
- break;
- case Model.Encoding.Anamorphic.Strict:
- profile.Anamorphic = Interop.Model.Encoding.Anamorphic.Strict;
- break;
- case Model.Encoding.Anamorphic.Loose:
- profile.Anamorphic = Interop.Model.Encoding.Anamorphic.Loose;
- break;
- case Model.Encoding.Anamorphic.None:
- profile.Anamorphic = Interop.Model.Encoding.Anamorphic.None;
- break;
- }
+ profile.Anamorphic = work.Anamorphic;
profile.AudioEncodings = new List<AudioEncoding>();
foreach (AudioTrack track in work.AudioTracks)