Fix some more display names.

This commit is contained in:
Damiano Galassi committed 2016-08-19 09:34:52 +02:00
1 parent 57bfe746a9
commit 8a2b4460ed
7 files changed
+49 -11

No files matched your search

+6 -1
View File
@@ -16,6 +16,7 @@
#import "mp4v2.h"
#import "MP42PrivateUtilities.h"
#import "MP42Track+Muxer.h"
#import "MP42Track+Private.h"
#import "MP42EditListsReconstructor.h"
@@ -219,7 +220,11 @@
}
else {
// Unknown type
newTrack = [[MP42Track alloc] init];
FourCharCode mediaType = kMP42MediaType_Unknown;
if (formatDescription) {
mediaType = CMFormatDescriptionGetMediaType(formatDescription);
}
newTrack = [[MP42Track alloc] initWithMediaType:mediaType];
}
// Set the usual track properties