MF_TOPONODE_SEQUENCE_ELEMENTID attribute

Specifies the element that contains this source node.

Data type

UINT32

Remarks

This attribute applies to source nodes (MF_TOPOLOGY_SOURCESTREAM_NODE).

The media pipeline uses this attribute to discover when media sources are part of the same element. The pipeline treats all source nodes that are part of the same element as having the same clock.

When the pipeline queues up a new topology that contains source nodes that are part of an element that is present in the previous topology, the pipeline treats these source nodes as having the same clock as the source nodes from that element in the previous topology.

Note

The media pipeline does not correct time stamps for source nodes with different clock rates.

 

A media source that can provide topologies should implement the IMFMediaSourceTopologyProvider interface or the IMFSequencerSource interface. A media source that provides topologies should set the MF_TOPONODE_SEQUENCE_ELEMENTID attribute on every source node that it creates.

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

Requirements

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

See also

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetUINT32

IMFAttributes::SetUINT32

IMFMediaSourceTopologyProvider

IMFSequencerSource

IMFTopologyNode

Topology Node Attributes

Sequencer Source