Hello all. I posted a similiar question here before, but I'm still struggling with it and have no idea what to do. Help would be greatly appreciated.
The problem is the ffdshow MPEG-4 Video Decoder filter. I cannot get ANY homemade filter to connect to its output pin no matter how hard I try. Nor can I get any of the sample filters to connect to it. Even the Dump sample can't connect to it, and that filter is so simplistic that it should connect to anything. Calling IGraphBuilder::ConnectDirect with ffdshow's output pin and my test filters' input pin yeilds 0x80040207, no compatible types. Which is completely nonsensical because CheckMediaType in the input pin isn't even being called. No debug messages are being generated either, so I have no idea where it's failing.
What could the problem possibly be Even the most simplistic filters can't connect. After ConnectDirect is called, the only two functions called that I see are GetPinCount and GetPin. Nothing else. I've overriden and breakpointed everything that looks like it could have anything to do with it in my filter and pin classes, including ReceiveConnection, GetAllocator, and GetSetupData. None of them ever get hit. Help!

Please help! Can't get any filter I write to connect to ffdshow
rajitha aththanayake
And yes, the input pin is already connected. For testing purposes, the whole graph is built, just with the default Video Renderer removed and whatever filter I'm trying to get to connect added in.
amiune
yfradkin
When NonDelegatingQueryInterface is called, what is the iid for any calls where you return NotImplemented
Also, while I don't know the details of ffdshow, some filters are coded to always return false if their input pin is unconnected.
Gafrage
The one lead I have to go on is DirectVobSub. It's a subtitle filter that ffdshow does successfully connect to and that I have the source for. But I can't tell what it's doing that I'm not... but it's derived from CTransformFilter, so ffdshow does take nonrenderers.
Geraint, if you could try this out when you get a chance, I would appreciate it so much. This is driving me up the wall.