Fix closed caption passthru form avfoundation importer.
This commit is contained in:
1 parent
f3187b1e2a
commit
5b4ca7c711
1 file changed
+6
@@ -294,6 +294,12 @@
|
|||||||
// Subtitle type, nothing interesting here
|
// Subtitle type, nothing interesting here
|
||||||
newTrack = [[MP42SubtitleTrack alloc] init];
|
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]) {
|
else if ([track.mediaType isEqualToString:AVMediaTypeText]) {
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user