MF_ACTIVATE_CUSTOM_VIDEO_MIXER_ACTIVATE
TOC
Collapse the table of content
Expand the table of content

MF_ACTIVATE_CUSTOM_VIDEO_MIXER_ACTIVATE attribute

Specifies an activation object that creates a custom video mixer for the enhanced video renderer (EVR) media sink.

Data type

IUnknown*

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::SetUnknown. The value of the attribute is a pointer to an activation object implemented by the caller. The caller's activation object must expose the IMFActivate interface.

If you set this attribute, the EVR calls IMFActivate::ActivateObject to create the custom video mixer. The video mixer must expose the IMFTransform interface.

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::GetUnknown
IMFAttributes::SetUnknown
IMFActivate
Activation Objects

 

 

Show:
© 2016 Microsoft