[vlc-devel] RE : RE : How to continue playing an online playlistwith LibVLC?
brezhoneg1
brezhoneg1 at yahoo.fr
Sat Feb 21 18:23:10 CET 2009
Actually, libvlc_media_player_play is asynchronous. It spawns others
threads, and returns. The job is really done when you get a EndReached
event.
>From the moment on, libvlc_media_subitems() can be used. You can also
just insert a small sleep(1) and it should work (at least for testing).
Erwan10.
-----Message d'origine-----
De : vlc-devel-bounces at videolan.org
[mailto:vlc-devel-bounces at videolan.org] De la part de Stream Alerts
Envoyé : vendredi 20 février 2009 21:40
À : Mailing list for VLC media player developers
Objet : Re: [vlc-devel] RE : How to continue playing an online
playlistwith LibVLC?
Thank you Erwan10! That makes sense. How do I extract that media_list
after the playlist is parsed? libvlc_media_subitems()?
I tried refreshing my media object with libvlc_media_player_get_media()
and then called libvlc_media_subitems() but it returned a null pointer.
How else can I grab the information? Thanks!
Sincerely,
Chris Larsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090221/da53ee75/attachment.html>
More information about the vlc-devel
mailing list