Muokkaa

Jaa


MF_MT_IMAGE_LOSS_TOLERANT attribute

Specifies whether an ASF image stream is a degradable JPEG type.

Data type

UINT32

Get/set

To get this attribute, call IMFAttributes::GetUINT32.

To set this attribute, call IMFAttributes::SetUINT32.

Applies to

IMFMediaType

Remarks

This attribute applies to the media type for image streams in ASF. If the value is TRUE, the stream is a degradable JPEG image type. Otherwise, the stream is a JFIF image type. For more information about these stream types, see the ASF specification.

In addition to the MF_MT_IMAGE_LOSS_TOLERANT attribute, the media type for an ASF image stream contains the following attributes:

Attribute Description
MF_MT_MAJOR_TYPE Contains the value MFMediaType_Image.
MF_MT_FRAME_SIZE Gives the image size in pixels.

 

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 R2 [desktop apps | UWP apps]
Header
Mfapi.h

See also

Alphabetical List of Media Foundation Attributes

Media Type Attributes