Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the stop time of the presentation.
Data type
UINT64
Treat as a LONGLONG value.
Get/set
To get this attribute, call IMFAttributes::GetUINT64.
To set this attribute, call IMFAttributes::SetUINT64.
Applies to
Remarks
This attribute specifies the position in the source where playback stops, in 100-nanosecond units, relative to the start the source. If the attribute is not set, playback stops at the end of the source. For example, to stop playback at the 5-second mark, set this attribute to 50000000. Set the attribute on the source nodes in the topology (nodes with type equal to MF_TOPOLOGY_SOURCESTREAM_NODE). Set the attribute before calling IMFMediaSession::SetTopology.
Note
If you manually insert a decoder into the topology, you must also set the MF_TOPONODE_MARKIN_HERE and MF_TOPONODE_MARKOUT_HERE attributes on the decoder node.
After the topology is set, setting this attribute has no effect.
This attribute is a signed value, although it is stored as a UINT64. However, negative values are not meaningful.
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 |
|
See also