[vlc-devel] libvlc_media_player_set_media cause freeze in 1.0
pdherbemont at free.fr
Mon Jun 8 07:44:56 CEST 2009
You can't call the set_media function from the callback. You need to
asynchronously call an helper that will do the job.
There is some code that do it in latest VLC.
On Sat, Jun 6, 2009 at 7:59 AM, Andrea
Visinoni<andrea at puntualmenteinritardo.com> wrote:
> 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
> 2) with vlc 1.0 rc3 -> freeze (as soon as libvlc_media_player_set_media is
> 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
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel