Try the next importer if one fails.

This commit is contained in:
Damiano Galassi committed 2016-04-01 08:26:47 +02:00
1 parent a33fcd02a0
commit 15a0509306
3 files changed
+10 -2

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@
@implementation MP42AVFImporter
+ (NSArray<NSString *> *)supportedFileFormats {
return @[@"mov", @"m2ts", @"ts", @"mts", @"ac3", @"eac3", @"ec3", @"webvtt", @"vtt"];
return @[@"mov", @"mp4", @"m4v", @"m4a", @"m2ts", @"ts", @"mts", @"ac3", @"eac3", @"ec3", @"webvtt", @"vtt"];
}
- (NSString *)formatForTrack:(AVAssetTrack *)track {