From 82dfc1b0f6dba94c69e39c411bbebe0f6260c05d Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Tue, 16 Feb 2016 13:51:51 +0100 Subject: [PATCH] Use AVFoundation to open webvtt. --- MP42/MP42AVFImporter.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MP42/MP42AVFImporter.m b/MP42/MP42AVFImporter.m index 6199e5a..be726e1 100644 --- a/MP42/MP42AVFImporter.m +++ b/MP42/MP42AVFImporter.m @@ -45,7 +45,7 @@ @implementation MP42AVFImporter + (NSArray *)supportedFileFormats { - return @[@"mov", @"m2ts", @"ts", @"mts", @"ac3", @"eac3", @"ec3"]; + return @[@"mov", @"m2ts", @"ts", @"mts", @"ac3", @"eac3", @"ec3", @"webvtt"]; } - (NSString *)formatForTrack:(AVAssetTrack *)track {