* 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:
1 parent
8bfe2829ef
commit
c740e8fde0
2 files changed
+2
-1
No files matched your search
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
_fallbacks = [[NSMutableArray alloc] init];
|
_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) {
|
self.soundTrack.conversionSettings.format != kMP42AudioCodecType_MPEG4AAC) {
|
||||||
NSInteger i = 1;
|
NSInteger i = 1;
|
||||||
NSInteger selectedItem = 0;
|
NSInteger selectedItem = 0;
|
||||||
|
|||||||
@@ -198,6 +198,7 @@
|
|||||||
copy.conversionSettings = settings;
|
copy.conversionSettings = settings;
|
||||||
|
|
||||||
((MP42AudioTrack *)track).fallbackTrack = copy;
|
((MP42AudioTrack *)track).fallbackTrack = copy;
|
||||||
|
track.enabled = NO;
|
||||||
|
|
||||||
[self.mp4File addTrack:copy];
|
[self.mp4File addTrack:copy];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user