Function

CMTimeMappingMakeFromDictionary

Reconstitutes a CMTimeMapping struct from a CFDictionary previously created by CMTimeMappingCopyAsDictionary.

Declaration

CMTimeMapping CMTimeMappingMakeFromDictionary(CFDictionaryRef dictionaryRepresentation);

Return Value

The resulting CMTimeMapping.

Discussion

This is useful when getting a CMTimeMapping from CF container types. If the CFDictionary does not have the requisite keyed values, an invalid time mapping is returned.

See Also

Creating Time Mappings

CMTimeMappingMake

Make a valid time mapping with a source and target time range.

CMTimeMappingMakeEmpty

Makes a valid CMTimeMapping with an empty source.