VLC Python bindings, Python and Windows
Posted: 01 Apr 2012 18:21
Hi everyone,
I'm porting a video application from Linux to Windows, which uses VLC as backend player. After fixes and fixes it's working fine now, but I got just a little issue: if I hide the video window (by a "Hide to systray" feature) and then I show it up again, the video no longer appears until I destroy the gtk.DrawingArea, I recreate it and set the new handle using set_hwnd() function provided by VLC library. The problem is that this requires to stop the video and playing it again, which is very frustrating (as the application is used to play online videos). What could be the issue? Is there any workaround to keep video image showing after hiding (and showing back) the player's window?
I'm porting a video application from Linux to Windows, which uses VLC as backend player. After fixes and fixes it's working fine now, but I got just a little issue: if I hide the video window (by a "Hide to systray" feature) and then I show it up again, the video no longer appears until I destroy the gtk.DrawingArea, I recreate it and set the new handle using set_hwnd() function provided by VLC library. The problem is that this requires to stop the video and playing it again, which is very frustrating (as the application is used to play online videos). What could be the issue? Is there any workaround to keep video image showing after hiding (and showing back) the player's window?