Function

CMTimeCopyAsDictionary

Returns a CFDictionary version of a CMTime.

Declaration

CFDictionaryRef CMTimeCopyAsDictionary(CMTime time, CFAllocatorRef allocator);

Parameters

time

CMTime from which to create dictionary.

allocator

CFAllocator with which to create dictionary. Pass kCFAllocatorDefault to use the default allocator.

Return Value

A CFDictionary version of the CMTime.

Discussion

This is useful when putting CMTimes in Core Foundation container types. For keys in the resulting dictionary, see Dictionary Keys.

See Also

Utility Functions

CMTimeShow

Prints a description of the CMTime (Similar to CFShow).

CMTimeCopyDescription

Creates a CFString with a description of a CMTime ( Similar to CFCopyDescription ).