Share via


VTUtilities.CopyVideoDecoderExtensionProperties Method

Definition

Determine whether a Media Extension video decoder will be used to decode the specified format, and return information about the Media Extension.

public static Foundation.NSDictionary? CopyVideoDecoderExtensionProperties(CoreMedia.CMFormatDescription formatDescription, out VideoToolbox.VTStatus error);
static member CopyVideoDecoderExtensionProperties : CoreMedia.CMFormatDescription * VTStatus -> Foundation.NSDictionary

Parameters

formatDescription
CMFormatDescription

The format description for the video format to analyze.

error
VTStatus

An error code if the operation was unsuccessful, otherwise Ok. If a Media Extension encoder won't be used to decode this format, CouldNotFindExtensionErr will be returned.

Returns

A dictionary with the properties for the Media Extension that will be used to decode this format, or null in case of failure.

Applies to