Fix closed caption passthru form avfoundation importer.

This commit is contained in:
Damiano Galassi committed 2016-07-05 10:26:06 +02:00
1 parent f3187b1e2a
commit 5b4ca7c711
1 file changed
+6
+6
View File
@@ -294,6 +294,12 @@
// Subtitle type, nothing interesting here
newTrack = [[MP42SubtitleTrack alloc] init];
}
else if ([track.mediaType isEqualToString:AVMediaTypeClosedCaption]) {
// Subtitle type, nothing interesting here
newTrack = [[MP42ClosedCaptionTrack alloc] init];
}
else if ([track.mediaType isEqualToString:AVMediaTypeText]) {