VTDecompressionSession.CanAcceptFormatDescriptor(CMFormatDescription) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.