Function

CMFormatDescriptionEqual

Compares two CMFormatDescription objects for equality.

Declaration

Boolean CMFormatDescriptionEqual(CMFormatDescriptionRef formatDescription, CMFormatDescriptionRef otherFormatDescription);

Parameters

ffd1

The first formatDescription.

ffd2

The second formatDescription.

Return Value

A boolean indicating whether the format descriptions are equal or not.

Discussion

This calls CFEqual on the provided CMFormatDescription objects. In contrast to the Core Foundation call it is NULL safe.

See Also

Common Functions

CMFormatDescriptionCreate

Creates a generic CMFormatDescription object. You should not call this method for the media types that has specific create functions such as audio, video, text, muxed, metaData and timeCode.

CMFormatDescriptionEqualIgnoringExtensionKeys

Compares two CMFormatDescription objects for equality, ignoring differences in the specified lists of format description extension keys and sample description extension keys.

CMFormatDescriptionGetExtension

Returns the specified extension of a CMFormatDescription.

CMFormatDescriptionGetExtensions

Returns an immutable dictionary containing all the extensions of a CMFormatDescription.

CMFormatDescriptionGetMediaSubType

Returns the media subtype of a CMFormatDescription.

CMFormatDescriptionGetMediaType

Returns the media type of a CMFormatDescription.

CMFormatDescriptionGetTypeID

Returns the CFTypeID of CMFormatDescription objects.