CTextPassThruFilter::CTextPassThruFilter(CMainFrame* pMainFrame) : CBaseFilter(NAME("CTextPassThruFilter"), NULL, this, __uuidof(this)) , m_pMainFrame(pMainFrame) { HRESULT hr; m_pInput = DNew CTextPassThruInputPin(this, this, &m_pMainFrame->m_csSubLock, &hr); m_pOutput = DNew CTextPassThruOutputPin(this, this, &hr); }
CTextPassThruFilter::CTextPassThruFilter(CGraphCore* gc) : CBaseFilter(NAME("CTextPassThruFilter"), NULL, this, __uuidof(this)) , m_graphcore(gc) { HRESULT hr; m_pInput = DNew CTextPassThruInputPin(this, this, &m_graphcore->m_csSubLock, &hr); m_pOutput = DNew CTextPassThruOutputPin(this, this, &hr); }