kVTDecompressionPropertyKey_OutputPoolRequestedMinimumBufferCount
The requested minimum buffer count that a decompression session should use for its output pixel buffer pool, without releasing buffers while the number in use is below this level.
Declaration
let kVTDecompressionPropertyKey_OutputPoolRequestedMinimumBufferCount: CFStringDiscussion
This property effectively requests that the kCVPixelBufferPoolMinimumBufferCountKey key be used for the creation of the output CVPixelBufferPool.
For general playback cases, standard CVPixelBufferPool age-out behavior is sufficient, and this property isn’t necessary. Use this property only in unusual playback scenarios where a peak pool level is known, and the potential memory overhead is an acceptable tradeoff to avoid possible buffer reallocation. Setting this property to NULL or passing in the value 0 clears this setting and removes the minimum buffer count.
Setting this property while a decompression session is in use results in the creation of a new CVPixelBufferPool. Setting this property causes new buffers to be allocated, and existing buffers to be deallocated when they are released.