MF_ACTIVATE_CUSTOM_VIDEO_MIXER_CLSID attribute

CLSID of a custom video mixer for the enhanced video renderer (EVR) media sink.

Data type

GUID

Remarks

If you are creating the EVR through an activation object, you can use this attribute to set a custom video mixer on the EVR. Use this attribute as follows:

  1. Call the MFCreateVideoRendererActivate function to create an activation object for the EVR. The function returns a pointer to the IMFActivate interface.

  2. Set this attribute on the IMFActivate pointer by calling IMFAttributes::SetGUID. The value of the attribute is the CLSID of the application's custom video mixer.

If this attribute is set, the EVR calls CoCreateInstance with the specified CLSID to create the custom video mixer. The video mixer must expose the IMFTransform interface. The mixer is created as an in-process COM server.

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

Enhanced Video Renderer Attributes

IMFAttributes::GetGUID

IMFAttributes::SetGUID

IMFActivate

Activation Objects