CMSampleBufferIsValid(_:)
Returns a Boolean value that indicates whether a sample buffer is valid.
Declaration
func CMSampleBufferIsValid(_ sbuf: CMSampleBuffer) -> BoolParameters
- sbuf:
The
CMSampleBufferbeing interrogated.
Return Value
A Boolean indicating whether the sample buffer is still valid.
Discussion
Returns false if sbuf is NULL or CMSampleBufferInvalidate was called, true otherwise. Doesn’t perform any kind of exhaustive validation of the sample buffer.