Function

CMTimeCopyDescription

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

Declaration

CFStringRef CMTimeCopyDescription(CFAllocatorRef allocator, CMTime time);

Parameters

allocator

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

time

CMTime to be described.

Return Value

The created CFString description.

Discussion

This is used from within CFShow on an object that contains CMTime fields. It is also useful from other client debugging code. The caller owns the returned CFString, and is responsible for releasing it.

See Also

Utility Functions

CMTimeShow

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

CMTimeCopyAsDictionary

Returns a CFDictionary version of a CMTime.