MF_MT_SAMPLE_SIZE attribute

Specifies the size of each sample, in bytes, in a media type.

Data type

UINT32

Remarks

This attribute is valid only if the MF_MT_FIXED_SIZE_SAMPLES attribute is TRUE.

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

Requirements

Minimum supported client
Windows Vista [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 [desktop apps | UWP apps]
Header
Mfapi.h

See also

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetUINT32

IMFAttributes::SetUINT32

IMFMediaType

Media Type Attributes