Fix sample dependencies for some mov files.

This commit is contained in:
Damiano Galassi committed 2018-01-03 13:03:21 +01:00
1 parent 2a3772f618
commit 4a37460dea
1 file changed
+4
+4
View File
@@ -1004,6 +1004,10 @@
}
}
if (dependecies == MP42SampleDepTypeUnknown) {
dependecies = sync ? MP42SampleDepTypeIsIndependent : MP42SampleDepTypeIsDependent;
}
CFDictionaryRef attachments = CMCopyDictionaryOfAttachments(NULL, sampleBuffer, kCMAttachmentMode_ShouldPropagate);
// Get CMBlockBufferRef to extract the actual data later