diff options
author | sr55 <[email protected]> | 2015-01-22 19:39:14 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-01-22 19:39:14 +0000 |
commit | 9da41cd7b44ff14a968e656b55a996bb035053f3 (patch) | |
tree | 7efb395342dedaef12a80006fc1da28bf1a8655e /win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs | |
parent | 209c9273e7af434cc2fbae0c0b3f6df4915deea3 (diff) |
WinGui: Fix subtitle track index. Made both Audio and Subtitle tracks 0 based.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6792 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs index 8cd9588b8..09fa4b98f 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs @@ -74,7 +74,7 @@ namespace HandBrake.ApplicationServices.Utilities Drc = track.DRC,
Gain = track.Gain,
Encoder = Converters.GetCliAudioEncoder(track.Encoder),
- InputNumber = track.Track.HasValue ? track.Track.Value - 1 : 0, // It's 0 based index
+ InputNumber = track.Track.HasValue ? track.Track.Value : 0,
Mixdown = Converters.GetCliMixDown(track.MixDown),
SampleRateRaw = GetSampleRateRaw(track.SampleRate),
EncodeRateType = AudioEncodeRateType.Bitrate,
|