Add new methods.
This commit is contained in:
1 parent
0dec3963f6
commit
ba4aca5cfb
3 files changed
+25
-3
No files matched your search
+9
-2
@@ -65,15 +65,17 @@
|
||||
NSMutableArray<MP42Track *> *unsupportedTracks = [[NSMutableArray alloc] init];;
|
||||
|
||||
for (MP42Track *track in _workingTracks) {
|
||||
|
||||
MP4TrackId dstTrackId = 0;
|
||||
NSData *magicCookie = nil;;
|
||||
NSData *magicCookie = nil;
|
||||
NSInteger timeScale = 0;
|
||||
muxer_helper *helper = track.muxer_helper;
|
||||
|
||||
if (helper) {
|
||||
magicCookie = [helper->importer magicCookieForTrack:track];
|
||||
timeScale = [helper->importer timescaleForTrack:track];
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
[unsupportedTracks addObject:track];
|
||||
continue;
|
||||
}
|
||||
@@ -226,6 +228,11 @@
|
||||
[helper->importer setActiveTrack:track];
|
||||
}
|
||||
|
||||
// EAC-3 audio tack
|
||||
else if ([track isMemberOfClass:[MP42AudioTrack class]] && [track.format isEqualToString:MP42AudioFormatEAC3]) {
|
||||
|
||||
}
|
||||
|
||||
// ALAC audio track
|
||||
else if ([track isMemberOfClass:[MP42AudioTrack class]] && [track.format isEqualToString:MP42AudioFormatALAC]) {
|
||||
dstTrackId = MP4AddALACAudioTrack(_fileHandle,
|
||||
|
||||
Reference in new issue
Block a user