Setting the Media Types
A version of this page is also available for
4/8/2010
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 the application can back out and try another combination.