Use AVFoundation to open webvtt.

This commit is contained in:
Damiano Galassi committed 2016-02-16 13:51:51 +01:00
1 parent c701a3ad4a
commit 82dfc1b0f6
1 file changed
+1 -1
+1 -1
View File
@@ -45,7 +45,7 @@
@implementation MP42AVFImporter
+ (NSArray<NSString *> *)supportedFileFormats {
return @[@"mov", @"m2ts", @"ts", @"mts", @"ac3", @"eac3", @"ec3"];
return @[@"mov", @"m2ts", @"ts", @"mts", @"ac3", @"eac3", @"ec3", @"webvtt"];
}
- (NSString *)formatForTrack:(AVAssetTrack *)track {