Function

CMTimeRangeFromTimeToTime

Creates a valid CMTimeRange from the given start and end time.

Declaration

CMTimeRange CMTimeRangeFromTimeToTime(CMTime start, CMTime end);

Parameters

start

CMTime structure representing start time for creating the range.

end

CMTime structure representing end time for creating the range.

Return Value

The resulting CMTimeRange.

See Also

Creating Time Ranges

CMTimeRangeMake

Creates a valid CMTimeRange with the given start time and duration.

CMTimeRangeMakeFromDictionary

Reconstitutes a CMTimeRange struct from a CFDictionary previously created by CMTimeRangeCopyAsDictionary.