The CurrentMediaType method retrieves the media type for the current pin connection.
Syntax
CMediaType& CurrentMediaType(void);
Return Value
Returns a reference to the CBasePin::m_mt member variable.
See Also
CTransformOutputPin Class