MF_PD_ASF_FILEPROPERTIES_FLAGS attribute

Specifies whether an Advanced Systems Format (ASF) file is broadcast or seekable. This value corresponds to the Flags field of the File Properties Object, defined in the ASF specification.

Data type

UINT32

Remarks

This attribute applies to presentation descriptors for ASF content. The value of the attribute is a bitwise OR of the following flags:

Flag Description
0x01 Broadcast flag. The file is in the process of being created.
0x02 Seekable flag. The file is seekable.
A file is seekable if an audio stream is present and the maximum data packet size equals the minimum data packet size. It can also be seekable if the file has an audio stream and a video stream with a matching Simple Index Object.

 

The IMFASFContentInfo::GeneratePresentationDescriptor method generates this attribute from the ASF metadata.

If the broadcast flag is set, the following attributes in the presentation descriptor are not valid:

In addition, the MF_PD_ASF_FILEPROPERTIES_MAX_PACKET_SIZE attribute and MF_PD_ASF_FILEPROPERTIES_MIN_PACKET_SIZE attribute values are set to the actual packet size.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Wmcontainer.h

See also

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetUINT32

IMFAttributes::SetUINT32

IMFPresentationDescriptor

Presentation Descriptor Attributes

ASF Header Object

Presentation Descriptors