Reworked the way text tracks are presented to better support webvtt.
This commit is contained in:
1 parent
c00241be82
commit
99edb689d0
2 files changed
+2
-2
No files matched your search
@@ -40,7 +40,7 @@ BOOL isTrackMuxable(NSString *formatName)
|
||||
{
|
||||
NSArray *supportedFormats = @[MP42VideoFormatH264, MP42VideoFormatMPEG4Visual, MP42AudioFormatAAC, MP42AudioFormatHEAAC, MP42AudioFormatALAC,
|
||||
MP42AudioFormatAC3, MP42AudioFormatEAC3, MP42AudioFormatDTS, MP42SubtitleFormatTx3g, MP42SubtitleFormatText,
|
||||
MP42ClosedCaptionFormatCEA608, MP42VideoFormatJPEG, MP42SubtitleFormatVobSub];
|
||||
MP42ClosedCaptionFormatCEA608, MP42VideoFormatJPEG, MP42SubtitleFormatVobSub, MP42SubtitleFormatWebVTT];
|
||||
|
||||
return [supportedFormats containsObject:formatName];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user