[vlc-devel] libvlc_media_player_set_media cause freeze in 1.0

Andrea Visinoni andrea at puntualmenteinritardo.com
Sat Jun 6 16:59:14 CEST 2009


Hi,
i'm trying to playback a playlist from my C application using libvlc.
In others post on this ML i've found out that libvlc_media_list_player 
is buggy so i'm using only media_list for playlist and using events to 
play the whole playlist (get endreached, and play next in list).
When i get the media endreached event i'm trying to set the new media 
with "libvlc_media_player_set_media" but:
1) with vlc 0.9.9a -> crash (as soon as libvlc_media_player_set_media is 
called)
2) with vlc 1.0 rc3 -> freeze (as soon as libvlc_media_player_set_media 
is called)

using "libvlc_media_player_new_from_media" i can playback the next 
media, but a new player window is opened.

So how can i fix that?

Best regards
Andrea



More information about the vlc-devel mailing list