Reworked the way text tracks are presented to better support webvtt.

This commit is contained in:
Damiano Galassi committed 2016-02-16 19:48:11 +01:00
1 parent c00241be82
commit 99edb689d0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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];