MF_TOPOLOGY_START_TIME_ON_PRESENTATION_SWITCH attribute

Specifies the start time for presentations that are queued after the first presentation.

Data type

INT64 stored as UINT64

Get/set

To get this attribute, call IMFAttributes::GetUINT64.

To set this attribute, call IMFAttributes::SetUINT64.

Applies To

IMFTopology

Remarks

When the application queues the first presentation on the Media Session, the application specifies the start time in the pvarStartPosition parameter of the IMFMediaSession::Start method. For any subsequent presentations, however, the start time is given by the MF_TOPOLOGY_START_TIME_ON_PRESENTATION_SWITCH attribute on the topology. The start time is specified in 100-nanosecond units, relative to the beginning of the presentation. For example, if the value is 50000000, playback starts 5 seconds into the presentation. If this attribute is not set, the default start time is zero.

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

Requirements

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

See also

Alphabetical List of Media Foundation Attributes

Topology Attributes