Hi,
I'm trying to use the CNullRend example posted a while ago by Gary
Daniels which can be found here:
http://groups.google.com/group/microsoft.public.smartphone.developer/browse_thread/thread/c9a4b3a393d4aa8a/9a025c9c22b01105?lnk=st&q=CNullRend&rnum=1#9a025c9c22b01105
Unfortunately I'm stuck, and can't get it to work. I have SPV C600
phone, and I've managed to connect camera source filter to the default
renderer using:
m_pCaptureGraph->RenderStream(&PIN_CATEGORY_PREVIEW,
&MEDIATYPE_Video, pVideoCaptureFilter, NULL, NULL);
I've also built and registered the CNullRend filter. But I can't connect
it to the camera source filter. I've tried to implement my own pin,
since the default one returns E_UNEXPECTED on GetMediaType(), but still
no success. I've tried to connect the pins with Connect/ConnectDirect
functions of IGraphBuilder interface, but that fails also.
If someone could give me hints what to do, to connect and use the
CNullRend filter I would be very thankfull.
--
Best Wishes,
Mateusz Grzegorzek