Contents

VTDecompressionSessionWaitForAsynchronousFrames(_:)

Waits for any and all outstanding asynchronous and delayed frames to complete, then returns.

Declaration

func VTDecompressionSessionWaitForAsynchronousFrames(_ session: VTDecompressionSession) -> OSStatus

Parameters

  • session:

    The decompression session.

Return Value

An OSStatus value that indicates the result of the operation.

Discussion

This function automatically calls VTDecompressionSessionFinishDelayedFrames(_:), so clients don’t have to call both.

See Also

Decoding Frames