oaubert / python-vlc

Python vlc bindings
GNU Lesser General Public License v2.1
381 stars 108 forks source link

Media player causes memory leak #250

Open pam-param-pam opened 1 year ago

pam-param-pam commented 1 year ago

So there are actually two issues I identified:

FIRST) Description: It's not possible to add media to a used media player instance

Expected behavior: After media is finished, add another media to media player and play it

Real behavior: What actually happens is that program freezes on .play() method

SECOND) There seems to be a memory leak in media player if u play media from url and then call .release() .release() also seems to freeze the program if called from MediaEventReached event