PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Playing movies with WindowsMedia in GapiDraw

I'm trying to make a simple media player with GapiDraw on a stationary computer.

I've succeeded in getting a video running in a small windows inside a GapiDraw application with Windowsless WMR, but the video flickers if I don't suspend the gapidraw display. Since I need the GapiDraw display to be updated I cannot susped it.

I guess there is some kind of "collision" between the rendering of the video and the rendering of the GapiDraw-frame.

I think I need the get the current videoframe from the WMR during ProcessNextFrame() and display it, but I don't know how to get it. Another alternative is to skip redrawing the background behind the video-frame, but is that possible?

Thanks in advance

/Tommy