Contents

kVTDecompressionPropertyKey_OnlyTheseFrames

Requests that frames be filtered by type.

Declaration

let kVTDecompressionPropertyKey_OnlyTheseFrames: CFString

Discussion

This is an optional property for video decoders to implement. If supported, it requests that the decoder limit decoding to the frame type specified by one of the Only These Frames Constants. This key may be used on its own, or may appear in the dictionaries returned in the array obtained from kVTDecompressionPropertyKey_SuggestedQualityOfServiceTiers.

If kVTDecompressionPropertyKey_ReducedFrameDelivery is supported and used in conjunction with this property, the ReducedFrameDelivery is the proportion of the frames selected by this property. For example, a dictionary containing [{kVTDecompressionPropertyKey_OnlyTheseFrames, kVTDecompressionProperty_OnlyTheseFrames_KeyFrames}, {kVTDecompressionPropertyKey_ReducedFrameDelivery, 0.25}] would request that the decoder only deliver 1/4 of keyframes.

Topics

Frame Constants

See Also

Decoder Behavior