Fix multiple MP42SampleBufferFlagEndOfFile being sent on the same track.

This commit is contained in:
Damiano Galassi committed 2017-10-27 09:07:53 +02:00
1 parent f836790198
commit dd10b73a0f
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -255,7 +255,7 @@ static NSArray<NSString *> *_supportedFileFormats;
MP42SampleBuffer *sample = [[MP42SampleBuffer alloc] init];
sample->flags |= MP42SampleBufferFlagEndOfFile;
sample->trackId = track.sourceId;
[self enqueue:sample];
[track enqueue:sample];
}
}