Function

CMTimeMappingMakeEmpty

Makes a valid CMTimeMapping with an empty source.

Declaration

CMTimeMapping CMTimeMappingMakeEmpty(CMTimeRange target);

Parameters

target

Initializes the target field of the resulting CMTimeMapping.

Return Value

The resulting CMTimeMapping.

Discussion

The target parameter must have a duration whose epoch is 0; otherwise an invalid time mapping will be returned.

See Also

Creating Time Mappings

CMTimeMappingMake

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

CMTimeMappingMakeFromDictionary

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