Redigera

Dela via


EVRConfig_ForceBatching attribute

Forces the Enhanced Video Renderer (EVR) to batch calls to the IDirect3D9Device::Present method.

Data type

UINT32

Get/set

To get this attribute, call IMFAttributes::GetUINT32.

To set this attribute, call IMFAttributes::SetUINT32.

Remarks

This attribute can be set on the EVR media sink. To set the attribute, use QueryInterface to query the EVR media sink for the IMFAttributes interface.

Setting this attribute has the same effect as setting the MFVideoRenderPrefs_ForceBatching flag on the EVR. See MFVideoRenderPrefs for a description of this flag.

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

Requirements

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

See also

Alphabetical List of Media Foundation Attributes

EVR Attributes

Video Quality Management