Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

MF_CONNECT_METHOD enumeration

Specifies how the topology loader connects a topology node. This enumeration is used with the MF_TOPONODE_CONNECT_METHOD attribute.

Syntax


typedef enum _MF_CONNECT_METHOD { 
  MF_CONNECT_DIRECT                           = 0x00000000,
  MF_CONNECT_ALLOW_CONVERTER                  = 0x00000001,
  MF_CONNECT_ALLOW_DECODER                    = 0x00000003,
  MF_CONNECT_RESOLVE_INDEPENDENT_OUTPUTTYPES  = 0x00000004,
  MF_CONNECT_AS_OPTIONAL                      = 0x00010000,
  MF_CONNECT_AS_OPTIONAL_BRANCH               = 0x00020000
} MF_CONNECT_METHOD;

Constants

MF_CONNECT_DIRECT

Connect the node directly to its upstream neighbor. Fail otherwise.

MF_CONNECT_ALLOW_CONVERTER

Add a converter transform upstream from this node, if needed to complete the connection. Converter transforms include color-space converters for video, and audio resamplers for audio.

MF_CONNECT_ALLOW_DECODER

Add a decoder transform upstream upstream from this node, if needed to complete the connection. The numeric value of this flag includes the MF_CONNECT_ALLOW_CONVERTER flag. Therefore, setting the MF_CONNECT_ALLOW_DECODER flag sets the MF_CONNECT_ALLOW_CONVERTER flag as well.

MF_CONNECT_RESOLVE_INDEPENDENT_OUTPUTTYPES

Controls the order in which the topology loader attempts to use different output types from this node. Currently, this flag applies only to source nodes. For more information, see MF_TOPOLOGY_ENUMERATE_SOURCE_TYPES.

Note  Requires Windows 7 or later.
MF_CONNECT_AS_OPTIONAL

This node is optional. If the topology loader cannot connect this node, it will skip the node and continue.

MF_CONNECT_AS_OPTIONAL_BRANCH

The entire topology branch starting at this node is optional. If the topology loader cannot resolve this branch, it will skip the branch and continue.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

See also

Media Foundation Enumerations

 

 

Community Additions

ADD
Show:
© 2015 Microsoft