Get the MediaType from the pin
VideoRenderers: Use the more general m_pOuter member to request information about the filter graph object.