From fcf8255c2e1c6c646e1fa184cca8c2cd9d2fc5b6 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 18 Jan 2015 18:10:12 +0000 Subject: WinGui: Removing some redundant code from the interop library. Fixed the libdvdnav option for the libhb based encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6768 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'win/CS/HandBrake.ApplicationServices/Utilities') diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs index 2ffc766b5..50388fc0d 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs @@ -68,7 +68,6 @@ namespace HandBrake.ApplicationServices.Utilities // Audio Settings job.AudioEncodings = new List(); - job.ChosenAudioTracks = new List(); foreach (AudioTrack track in work.AudioTracks) { AudioEncoding newTrack = new AudioEncoding @@ -86,10 +85,6 @@ namespace HandBrake.ApplicationServices.Utilities }; job.AudioEncodings.Add(newTrack); - if (track.Track != null) - { - job.ChosenAudioTracks.Add(track.Track.Value); - } } // Title Settings @@ -155,7 +150,6 @@ namespace HandBrake.ApplicationServices.Utilities // Picture Settings job.Anamorphic = work.Anamorphic; job.Cropping = new Cropping { Top = work.Cropping.Top, Bottom = work.Cropping.Bottom, Left = work.Cropping.Left, Right = work.Cropping.Right }; - job.CroppingType = CroppingType.Custom; // TODO deal with this better job.DisplayWidth = work.DisplayWidth.HasValue ? int.Parse(Math.Round(work.DisplayWidth.Value, 0).ToString()) : 0; job.PixelAspectX = work.PixelAspectX; job.PixelAspectY = work.PixelAspectY; -- cgit v1.2.3