DirectShow Mpeg2 playback in secondary monitor
Posted on 2004-09-30
I'm changing a perfectly working PlayWnd directShow sample to play an mpeg2 file on the secondary monitor of my pc.
I have two monitor, the second one extends the first one at coordinate 1240,0.
I changed the PlayWnd sample to create the window at 1300,10: the window lies entirely on the second screen area.
When I select the movie file, the audio starts but the playback video area is black.
It starts drawing only if i move of some pixels the window with the mouse by dragging in the title bar. I tried to reproduce this with a MoveWindow() but it does not work.
What is happening ?
Do I have to address the GraphBuilder to display in the second monitor explicitly ?