hr =m_tCapParam.pGraph->Connect(m_tCapParam.pVideoOutPin, m_tCapParam.pCompressInPin);
if (FAILED(hr))
{
if (hr==VFW_S_PARTIAL_RENDER)
ShowMessage ("VFW_S_PARTIAL_RENDER");
else if (hr==E_POINTER)
ShowMessage ("E_POINTER");
else if (hr==VFW_E_CANNOT_CONNECT)
ShowMessage ("VFW_E_CANNOT_CONNECT");
else if (hr==VFW_E_NOT_IN_GRAPH)
ShowMessage ("VFW_E_NOT_IN_GRAPH");
else
ShowMessage ("Could not connect video to selected compressor.");
return ;
}
提示VFW_E_CANNOT_CONNECT,
我该怎么连接呢?