MF_ACTIVATE_CUSTOM_VIDEO_PRESENTER_FLAGS attribute

Specifies how to create a custom presenter for the enhanced video renderer (EVR).

Data type

UINT32

Remarks

You can set this attribute on the IMFActivate pointer obtained from the MFCreateVideoRendererActivate function. The value of this attribute is a bitwise OR of the following values.

Value Description
MF_ACTIVATE_CUSTOM_PRESENTER_ALLOWFAIL If the IMFActivate::ActivateObject method fails to create the application's custom presenter, it uses the default EVR presenter instead. By default, if the IMFActivate object fails when it tries to create the custom presenter, the ActivateObject method fails.

 

Applications can use the MF_ACTIVATE_CUSTOM_VIDEO_PRESENTER_CLSID attribute to specify a custom presenter for the EVR.

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

Requirements

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

Enhanced Video Renderer Attributes

IMFAttributes::GetUINT32

IMFAttributes::SetUINT32

Activation Objects

How to Write an EVR Presenter