Page 1 of 1

Python - Cannot close libvlc video output window .

Posted: 24 Feb 2013 14:21
by Alexander
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 .

Re: Python - Cannot close libvlc video output window .

Posted: 12 Mar 2013 15:55
by OlivierAubert
If you need more control over the video ouput, you should embed it in a widget (that you can then control). You cannot change the behaviour of the standard video output.