* Fixed a fallback-selection issue for DTS files

* Fixed missing "track.enabled = NO" in the Queue feature for AC-3 tracks with a fallback track.
This commit is contained in:
Brian Gerfort committed 2017-05-05 14:48:47 +02:00
1 parent 8bfe2829ef
commit c740e8fde0
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@
_fallbacks = [[NSMutableArray alloc] init];
if ((self.soundTrack.format == kMP42AudioCodecType_AC3 || self.soundTrack.format == kMP42AudioCodecType_EnhancedAC3) &&
if ((self.soundTrack.format == kMP42AudioCodecType_AC3 || self.soundTrack.format == kMP42AudioCodecType_EnhancedAC3 || self.soundTrack.format == kMP42AudioCodecType_DTS) &&
self.soundTrack.conversionSettings.format != kMP42AudioCodecType_MPEG4AAC) {
NSInteger i = 1;
NSInteger selectedItem = 0;
+1
View File
@@ -198,6 +198,7 @@
copy.conversionSettings = settings;
((MP42AudioTrack *)track).fallbackTrack = copy;
track.enabled = NO;
[self.mp4File addTrack:copy];
}