[vlc-devel] vlc python bindings
Pluch'
pluch001 at yahoo.fr
Mon Jul 20 21:35:56 CEST 2009
Hello,
When I try the vlc Python Bindings in a loop, the memory used by my script increase each time I start a new player with player=vlc.MediaControl(). After about 50-55 starts on linux (about 150 starts on windows), the script runs out of memory.
Is it a problem with the script below or is there something wrong with the bindings.
Thanks!
the script :
#! /usr/bin/env python
import vlc, time
idx=0
while True:
idx+=1
player=vlc.MediaControl()
time.sleep(2)
print (str(idx)+"---")*10
del player
time.sleep(1)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090720/240f2727/attachment.html>
More information about the vlc-devel
mailing list