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
+1
-1
@@ -202,7 +202,7 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
|
||||
if (trackId == chapterId) {
|
||||
track = [MP42ChapterTrack alloc];
|
||||
} else {
|
||||
track = [MP42Track alloc];
|
||||
track = [MP42SubtitleTrack alloc];
|
||||
}
|
||||
} else if (!strcmp(type, MP4_SUBTITLE_TRACK_TYPE)) {
|
||||
track = [MP42SubtitleTrack alloc];
|
||||
|
||||
Reference in new issue
Block a user