diff --git a/MP42/MP42ChapterTrack.m b/MP42/MP42ChapterTrack.m index cea4b44..ca473d9 100644 --- a/MP42/MP42ChapterTrack.m +++ b/MP42/MP42ChapterTrack.m @@ -175,7 +175,7 @@ { BOOL success = YES; - if (_isEdited && _areChaptersEdited) { + if ((_isEdited && _areChaptersEdited) || !_muxed) { MP4Chapter_t * fileChapters = 0; MP4Duration refTrackDuration; uint32_t chapterCount = 0;