MF_TOPOLOGY_NO_MARKIN_MARKOUT attribute

Specifies whether the pipeline trims samples.

Data type

UINT32

Treat as a Boolean value.

Remarks

By default, the pipeline trims samples to match the correct presentation times. Trimming is done at the topology nodes that have the MF_TOPONODE_MARKIN_HERE and MF_TOPONODE_MARKOUT_HERE attributes. If the MF_TOPOLOGY_NO_MARKIN_MARKOUT attribute is set to TRUE on the topology, the pipeline does not trim samples, and the MF_TOPONODE_MARKIN_HERE and MF_TOPONODE_MARKOUT_HERE attributes are ignored. If the attribute is not set, or has the value FALSE, the pipeline trims samples.

An application might set the MF_TOPOLOGY_NO_MARKIN_MARKOUT attribute to TRUE if the application receives compressed samples from the pipeline and needs to get all of the key frames, which might otherwise be trimmed.

The default value of this attribute is FALSE.

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

MF_TOPONODE_MARKIN_HERE

MF_TOPONODE_MARKOUT_HERE

Topology Attributes