I have a filter graph like Source --> InfTee --> VMR7/VMR9
Graph works fine when I connect graph like Source --> VMR7/VMR9 but once I insert InfTee filter between Source and VMR then I am getting problem with pin connection between o/p pin of InfTee filter and i/p pin of VMR. I don't want to add any other filter like AVIdecompressor or colorspace converter filter b/w InfTee and VMR.
The connection proceeded fine until the DecideAllocator() function of the InfTee output pin was called. This function has the following code:
hr = pPin->NotifyAllocator(pTee->m_pAllocator,TRUE);
NotifyAllocator returns E_FAIL.
Here pPin is the receiving pin (VMR's input pin) and pTee->m_pAllocator stores the allocator that InfTee received from the input pin in its own NotifyAllocator() implementation.
I checked on net and got problem is with InfTee filter because of its dumb nature.But could not get any proper solution.
Can someone help me out?