diff options
author | sr55 <[email protected]> | 2015-01-18 18:10:12 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-01-18 18:10:12 +0000 |
commit | fcf8255c2e1c6c646e1fa184cca8c2cd9d2fc5b6 (patch) | |
tree | f20fe9ddfe7e36e6a19d40dd53534e98867e0abf /win/CS/HandBrake.ApplicationServices/Utilities | |
parent | 3971869f634466f832c3ec33e0e9b1779058156f (diff) |
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
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs | 6 |
1 files changed, 0 insertions, 6 deletions
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<AudioEncoding>();
- job.ChosenAudioTracks = new List<int>();
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;
|