示例#1
0
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);
}
示例#2
0
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);
}