Use AVFoundation to open webvtt.
This commit is contained in:
1 parent
c701a3ad4a
commit
82dfc1b0f6
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user