How did you get the pin?
I use codes as follow:
IPin *pInputPin;
pElecardFilter->FindPin(L"Input",&pInputPin);
if (FAILED(hr)) {
MessageBox(NULL,"FindPin error","",MB_OK);
return hr;
}
pSourceFilter->Connect(pInputPin,&MediaType);
and it worked fine;
I meet this question too.
It's because that the Microsoft's mpeg-2 demultiplexer
did not support the live stream.
you can use the Elecard Mpeg2 decoder and demultiplexer.
I use it and my application is working well now.
you can download it from www.elecard.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.