MF_TOPOLOGY_DYNAMIC_CHANGE_NOT_ALLOWED attribute

Specifies whether the Media Session attempts to modify the topology when the format of a stream changes.

Data type

UINT32

Get/set

To get this attribute, call IMFAttributes::GetUINT32.

To set this attribute, call IMFAttributes::SetUINT32.

Applies to

IMFTopology

Remarks

This attribute controls how the Media Session responds if the format of a stream changes during streaming.

If the format changes and the MF_TOPOLOGY_DYNAMIC_CHANGE_NOT_ALLOWED attribute is FALSE, the Media Session might insert new nodes into the topology to match the new format. For example, if the video size changes, the Media Session might add a Media Foundation transform (MFT) that resizes the video. Otherwise, if the attribute is TRUE, the Media Session will not modify the topology.

The default value of this attribute is FALSE. The recommended value is FALSE.

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