[DirectPython] Media objects start playing on window resize event
Status: Inactive
Brought to you by:
hsalo
From: Mikhail A. <m.a...@gm...> - 2008-05-13 08:11:24
|
Hello! I have a few d3d.Media instances (videos) in my little program and they are to be rendered into a texture sequentially, and it works fine until I try to resize the window. In this case, all Media objects start to play simultaneously and it freezes everything. In MEDIA.WINDOW mode, however, they don't, but getScreenshot() is painfully slow (it should be, if I understand correctly). Is it possible to avoid such behavior? Is it possible to render videos into a window using MEDIA.WINDOW mode and then draw some overlay (sprites and text) over them? Thanks in advance! |