Fix a case in which the chapters were not written to disk.

This commit is contained in:
Damiano Galassi committed 2013-11-17 12:41:16 +01:00
1 parent 2054a1596c
commit 13bd044771
1 file changed
+1 -1
+1 -1
View File
@@ -175,7 +175,7 @@
{
BOOL success = YES;
if (_isEdited && _areChaptersEdited) {
if ((_isEdited && _areChaptersEdited) || !_muxed) {
MP4Chapter_t * fileChapters = 0;
MP4Duration refTrackDuration;
uint32_t chapterCount = 0;