Do not pass the chapter track to the muxer.
This commit is contained in:
1 parent
017cd8d8c1
commit
5d9890e5f4
1 file changed
+3
-1
+3
-1
@@ -737,7 +737,8 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
|
|||||||
if (!track.muxed) {
|
if (!track.muxed) {
|
||||||
// Reopen the file importer is they are not already open
|
// Reopen the file importer is they are not already open
|
||||||
// this happens when the object was unarchived from a file.
|
// this happens when the object was unarchived from a file.
|
||||||
if (![track isMemberOfClass:[MP42ChapterTrack class]] && !track.muxer_helper->importer && track.sourceURL) {
|
if (![track isMemberOfClass:[MP42ChapterTrack class]]) {
|
||||||
|
if (!track.muxer_helper->importer && track.sourceURL) {
|
||||||
MP42FileImporter *fileImporter = [self.importers valueForKey:track.sourceURL.path];
|
MP42FileImporter *fileImporter = [self.importers valueForKey:track.sourceURL.path];
|
||||||
|
|
||||||
if (!fileImporter) {
|
if (!fileImporter) {
|
||||||
@@ -776,6 +777,7 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[self.muxer setup:outError];
|
[self.muxer setup:outError];
|
||||||
[self.muxer work];
|
[self.muxer work];
|
||||||
|
|||||||
Reference in new issue
Block a user