     HRESULT hr = m_pTIPFilter->CheckInputType(pmt);     if (hr!=S_OK) return hr;      if( m_pTIPFilter->m_pInput->IsConnected() )         return m_pTIPFilter->m_pInput->GetConnected()->QueryAccept( pmt );     else         return S_OK;  } // CheckMediaType   /