MF_MEDIA_ENGINE_PLAYBACK_VISUAL attribute

Sets a Microsoft DirectComposition visual as the playback region for the Media Engine.

Data type

IDCompositionVisual* stored as IUnknown*

Get/set

To get this attribute, call IMFAttributes::GetUnknown.

To set this attribute, call IMFAttributes::SetUnknown.

Remarks

For more information on DirectComposition, see DirectComposition and IDCompositionVisual.

This attribute is used with the IMFMediaEngineClassFactory::CreateInstance method to initialize the Media Engine.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2012 [desktop apps | UWP apps]
Header
Mfmediaengine.h

See also

Alphabetical List of Media Foundation Attributes