views:

13

answers:

1

I have a DirectShow graph that receives and renders a live network video stream using the Video Mixer Renderer. I'm using the IVMRWindowlessControl and I want to clear the client area to reveal the background image that was under the video before it was displayed.

To overcome flicker problems I've overridden the WM_ERASEBKGND and OnPaintBackground messages to do nothing. When I stop the DirectShow graph I'm left with the last rendered video image.

Is there a way to get the Video Mixer Renderer to clear the last image, or notify the calling application so that I can manually repaint the client area?

A: 

send an all white frame?

rogerdpack