[vlc-devel] libvlc_media_player_set_media cause freeze in 1.0

Andrea Visinoni andrea at puntualmenteinritardo.com
Tue Jun 9 22:39:34 CEST 2009

Andrea Visinoni ha scritto:
> Pierre d'Herbemont ha scritto:
>> On Mon, Jun 8, 2009 at 8:47 AM, Andrea
>> Visinoni<andrea at puntualmenteinritardo.com> wrote:
>>> 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?
>> libvlc_media_list_player should be working now. If not write a test :-)
>> (I was talking about src/control/event_async.c)

Just a note, libvlc_event_attach_async is not exported as API.
Maybe it's possible to add another parameter to libvlc_event_attach 
selecting sync or async (since we call always event_attach with a boolean).

More information about the vlc-devel mailing list