[vlc-devel] libvlc_media_player_set_media cause freeze in 1.0
andrea at puntualmenteinritardo.com
Mon Jun 8 17:47:27 CEST 2009
Pierre d'Herbemont ha scritto:
> 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.
Do you mean in the test code? Can you point me in the right direction?
> 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:
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel