Here's an odd thing. I am using the DirectX 9 SDK to develop a DirectShow app using live input from a firewire camera.
Using just a capture input and default renderer, I build the filter graph and set it to run. No problem. Lovely live output onto the screen.
However, when I use my custom transform filter inbetween these filters, I just get green on the screen. Debugging shows that even the input to the Transform(IMediaSample *pSource, IMediaSample *pDest) function is entirely green.
Even better, when I set my filter to just make pDest = pSource, the output is still green so I have tried setting the first 100 pixels to 0 and the output is... yes indeed... green.
Going a little mad here. Any suggestions? Would a dump of some of my code help (there is much)
Using just a capture input and default renderer, I build the filter graph and set it to run. No problem. Lovely live output onto the screen.
However, when I use my custom transform filter inbetween these filters, I just get green on the screen. Debugging shows that even the input to the Transform(IMediaSample *pSource, IMediaSample *pDest) function is entirely green.
Even better, when I set my filter to just make pDest = pSource, the output is still green so I have tried setting the first 100 pixels to 0 and the output is... yes indeed... green.
Going a little mad here. Any suggestions? Would a dump of some of my code help (there is much)