Creates a CMMetadata
from a big-endian MetadataDescription data structure in a CMBlockBuffer.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.0+
Framework
- Core Media
Declaration
func CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionBlockBuffer(allocator: CFAllocator?, bigEndianMetadataDescriptionBlockBuffer metadataDescriptionBlockBuffer: CMBlock Buffer, flavor: CMMetadata Description Flavor?, formatDescriptionOut: Unsafe Mutable Pointer<CMMetadata Format Description?>) -> OSStatus
Parameters
allocator
Allocator to use for allocating the
CMMetadata
object. May beFormat Description NULL
.metadataDescriptionBlockBuffer
CMBlock
containing MetadataDescription data structure in big-endian byte ordering.Buffer metadataDescriptionFlavor
Reserved for future use. Pass NULL for QuickTime Movie or ISO flavor.
metadataFormatDescriptionOut
Receives new CMMetadataFormatDescriptionRef.