Expand Minimize

MFASFSPLITTER_PACKET_BOUNDARY attribute

Specifies whether a buffer contains the start of an Advanced Systems Format (ASF) packet.

Data type

UINT32

Treat as a Boolean value.

Remarks

If a media buffer exposes the IMFAttributes interface through QueryInterface, and the value of this attribute is nonzero, the ASF splitter treats the buffer as the start of a new packet.

This attribute applies if you are using the ASF splitter to parse ASF data. If your ASF data has variable packet lengths, you must set this attribute on the media buffers that you pass to the IMFASFSplitter::ParseData method. Set the attribute to TRUE if the buffer contains the start of a new packet. If the buffer contains a continuation of the previous packet, set the attribute to FALSE. The buffers cannot span multiple packets.

For ASF data with fixed packet sizes, this attribute is not required, and a buffer can can span multiple packets.

Note that the standard implementations of the IMFMediaBuffer provided by Media Foundation do not expose IMFAttributes. To use this attribute, you must provide your own implementation of IMFMediaBuffer; for example, by wrapping the buffers returned by MFCreateMemoryBuffer.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wmcontainer.h

See also

ASF Attributes
IMFAttributes::GetUINT32
IMFAttributes::SetUINT32
IMFMediaBuffer

 

 

Community Additions

ADD
Show:
© 2014 Microsoft