How to implement you own custom DirectShow renderer that could work a-la or instead of SampleGrabber?
http://www.gdcl.co.uk/AppFilter.zip
I'd recommend looking into BaseClasses from PlatformSDK. There are C++ classes for Media Renderer. You can use them.