VTDecompressionSession.CanAcceptFormatDescriptor(CMFormatDescription) Method

Definition

Checks whether the VTDecompressionSession can decode frames of the specified format.

public VideoToolbox.VTStatus CanAcceptFormatDescriptor(CoreMedia.CMFormatDescription newDescriptor);
member this.CanAcceptFormatDescriptor : CoreMedia.CMFormatDescription -> VideoToolbox.VTStatus

Parameters

newDescriptor
CMFormatDescription

The format to check.

Returns

Ok if the format is supported, or Parameter otherwise.

Applies to