Expand Minimize

MF_MEDIA_ENGINE_CREATEFLAGS enumeration

Contains flags for the IMFMediaEngineClassFactory::CreateInstance method.

Syntax


typedef enum MF_MEDIA_ENGINE_CREATEFLAGS { 
  MF_MEDIA_ENGINE_AUDIOONLY              = 0x0001,
  MF_MEDIA_ENGINE_WAITFORSTABLE_STATE    = 0x0002,
  MF_MEDIA_ENGINE_FORCEMUTE              = 0x0004,
  MF_MEDIA_ENGINE_REAL_TIME_MODE         = 0x0008,
  MF_MEDIA_ENGINE_DISABLE_LOCAL_PLUGINS  = 0x0010,
  MF_MEDIA_ENGINE_CREATEFLAGS_MASK       = 0x001F
} MF_MEDIA_ENGINE_CREATEFLAGS;

Constants

MF_MEDIA_ENGINE_AUDIOONLY

The Media Engine will play audio only. It will not play video.

MF_MEDIA_ENGINE_WAITFORSTABLE_STATE

The Media Engine's resource loading algorithm waits for the application to signal the thread that loads the resource. For more information, see the remarks for MF_MEDIA_ENGINE_EVENT_NOTIFYSTABLESTATE in the MF_MEDIA_ENGINE_EVENT enumeration.

MF_MEDIA_ENGINE_FORCEMUTE

Always mute the audio.

MF_MEDIA_ENGINE_REAL_TIME_MODE

Enable low-latency mode in the rendering pipeline. This can be changed at a later time by calling IMFMediaEngineEx::SetRealTimeMode.

MF_MEDIA_ENGINE_DISABLE_LOCAL_PLUGINS

Disable locally registered media plugins. If this flag is set, the Media Engine will not load decoders or other media plugins that the application registered for the local process.

MF_MEDIA_ENGINE_CREATEFLAGS_MASK

Reserved.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfmediaengine.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft