Play->Stop->Play doesnt show video

May 24, 2010 at 5:04 PM

Hi Jeremiah,

First of all I want to thank you for your work on this library. With the help of D3DImage and VMR9 you have managed to provide a sore needed missing link between WPF, DirectShow and Direct3D.

I found that when I Play->Stop->Play the MediaUriElement, the video doesnt display any more (the graph reports that it is in the playing state, I hear the audio, but I dont see  any PresentImage calls.

Is this a scenario you have tested?

Is it possible that there is some state management code missing in the VMR9Allocator or other class? (for instance in StartPresenting or StopPresenting?)

Thanks a lot!

David Sackstein

 

May 24, 2010 at 6:34 PM

Hi Jeremiah,

The problem was in the subject : ) I needed to call Pause, not Stop, and all works well.

David Sackstein