Python - Cannot close libvlc video output window .

This forum is about all development around libVLC.
Alexander
New Cone
New Cone
Posts: 1
Joined: 24 Feb 2013 14:12

Python - Cannot close libvlc video output window .

Postby Alexander » 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 .

OlivierAubert
Developer
Developer
Posts: 92
Joined: 08 Mar 2007 15:43

Re: Python - Cannot close libvlc video output window .

Postby OlivierAubert » 12 Mar 2013 15:55

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 13 guests