Contents

CMBufferQueueGetMinDecodeTimeStamp(_:)

Gets the earliest decode timestamp of a buffer queue.

Declaration

func CMBufferQueueGetMinDecodeTimeStamp(_ queue: CMBufferQueue) -> CMTime

Parameters

  • queue:

    CMBufferQueue being interrogated.

Return Value

The earliest decode timestamp of the interrogated CMBufferQueue.

Discussion

The search for earliest decode timstamp is performed in this API. If you know your queue is in decode order, Accessing CMBufferQueue is a faster alternative. If the getDecodeTimeStamp callback is NULL, kCMTimeInvalid will be returned.

See Also

Inspecting Duration and Timing