Contents

pixelBufferPool

A pool of pixel buffers to append to the adaptor’s input.

Declaration

var pixelBufferPool: CVPixelBufferPool? { get }

Discussion

For maximum efficiency, you should create CVPixelBuffer objects for append(_:withPresentationTime:) by using this pool with the CVPixelBufferPoolCreatePixelBuffer(_:_:_:) function.

This value is nil prior to calling startSession(atSourceTime:)on the associated AVAssetWriter object.

This property is key-value observable.

See Also

Accessing the pool