Get the last few packets from the mac encoder.

This commit is contained in:
Damiano Galassi committed 2017-02-24 11:25:37 +01:00
1 parent 2d67e1b718
commit c9b81e5757
2 files changed
+14 -12

No files matched your search

+2 -2
View File
@@ -1134,12 +1134,12 @@
sample->flags |= sync ? MP42SampleBufferFlagIsSync : 0;
sample->flags |= doNotDisplay ? MP42SampleBufferFlagDoNotDisplay : 0;
sample->trackId = track.sourceId;
if (attachmentsSent == NO) {
sample->attachments = (void *)attachments;
attachmentsSent = YES;
}
[demuxHelper->editsConstructor addSample:sample];
[self enqueue:sample];
[sample release];