Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains flags for the IMFMediaEngineClassFactory::CreateInstance method.
Syntax
typedef enum MF_MEDIA_ENGINE_CREATEFLAGS {
MF_MEDIA_ENGINE_AUDIOONLY = 0x1,
MF_MEDIA_ENGINE_WAITFORSTABLE_STATE = 0x2,
MF_MEDIA_ENGINE_FORCEMUTE = 0x4,
MF_MEDIA_ENGINE_REAL_TIME_MODE = 0x8,
MF_MEDIA_ENGINE_DISABLE_LOCAL_PLUGINS = 0x10,
MF_MEDIA_ENGINE_CREATEFLAGS_MASK = 0x1f
} ;
Constants
MF_MEDIA_ENGINE_AUDIOONLY Value: 0x1 The Media Engine will play audio only. It will not play video. |
MF_MEDIA_ENGINE_WAITFORSTABLE_STATE Value: 0x2 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 Value: 0x4 Always mute the audio. |
MF_MEDIA_ENGINE_REAL_TIME_MODE Value: 0x8 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 Value: 0x10 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 Value: 0x1f Reserved. |
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 |