Where comes the prerolling filter?
-
When I use ICaptureGraphBuilder2::FindInterface() method to find a specific filter (say IAMVideoCompression).It give two messageboxes that "Please wait until preroll is completed!" and ASSERT Failed ((HRESULT)BreakConnect()) >=0) At line 2005 of ..\DXSDK\Samples\Multimedia\DirectShow\BaseClasses\amfi lter.cpp),but my sourcefilter doesn't need preroll and i had not add any prerolling filter to the graph.The reprentative code like : IAMVideoCompression *pVC=NULL; if(FAILED(m_pCapture->FindInterface (&PIN_CATEGORY_CAPTURE,&MEDIATYPE_Video,m_pSF7146,IID_IAMV ideoCompression,(void**)&pVC))) { return S_FALSE; } My work environment is DirectX8.1SDK + VC++6.0 + WinXP. Please help me to release these errors to get my work continue,thank you advaced! Scratch