MF_MT_COMPRESSED attribute
Specifies for a media type whether the media data is compressed.
Data type
UINT32
Treat as a Boolean value.
Remarks
If this attribute is TRUE, the media type is a compressed format. Otherwise, either the media type is uncompressed or the compression type is not known.
This attribute is not guaranteed to be set to TRUE for all compressed formats, so applications should generally not rely this attribute. The most reliable way to determine whether a format is compressed is to maintain a list of known formats. If an application does not recognize a format, as specified in the MF_MT_SUBTYPE attribute, it should not assume anything about the compression of the format.
To determine whether a format uses temporal compression (meaning that some samples are computed as deltas from earlier samples), check the MF_MT_ALL_SAMPLES_INDEPENDENT attribute.
The GUID constant for this attribute is exported from mfuuid.lib.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps | UWP apps] |
Minimum supported server |
Windows Server 2008 [desktop apps | UWP apps] |
Header |
|
See also