Python - Cannot close libvlc video output window .
Posted: 24 Feb 2013 14:21
Hi , i have wrote some basic media player app arount libvlc python bindings . (Win32)
for playback i use :
vlc.MediaList()
vlc.MediaListPlayer()
Everything works fine , except when i play a video , it is drawn on the screen but i cannot close it's window , Only if i make the media STOP , it closes it ..
also when i reach the end of playlist , the video window remains blank , and will not close unless i tell the player object to STOP .
(when i say cannot close , i mean that pressing on the close window icon "X" , does nothing at all , the window remains there )
I did not write window handling code , i just use the built-in functionality , when it reaches video file in the playlist , i get basic window with video output .
for playback i use :
vlc.MediaList()
vlc.MediaListPlayer()
Everything works fine , except when i play a video , it is drawn on the screen but i cannot close it's window , Only if i make the media STOP , it closes it ..
also when i reach the end of playlist , the video window remains blank , and will not close unless i tell the player object to STOP .
(when i say cannot close , i mean that pressing on the close window icon "X" , does nothing at all , the window remains there )
I did not write window handling code , i just use the built-in functionality , when it reaches video file in the playlist , i get basic window with video output .