Setting the Media Types

Applications use the IMediaObject::SetInputType and IMediaObject::SetOutputType methods to test, set, or clear types on a stream. The types must be fully specified, so that the DMO can process the data correctly. For each stream, the DMO must verify that the proposed type is compatible with the types on other streams. The DMO_SET_TYPEF_CLEAR flag clears a stream's type, so that the application can "back out" and try another combination.

See Also

DMOs and Media Types

© 2005 Microsoft Corporation. All rights reserved.