[vlc-devel] Deadlock when trying to reuse a media player after MediaPlayerEndReached
underground78 at gmail.com
Mon Oct 26 14:27:56 CET 2009
2009/10/25 Pierre d'Herbemont <pdherbemont at gmail.com>:
> That's a libvlc limitation that we may address one day.
> You can work around by asynchronously dispatching a new block from
> callback(). The block should be doing what you currently do in callback().
> In current libvlc there is libvlc_event_attach_async(), that automatically
> does this async dispatch.
Thanks a lot for your help. I have followed the tutorial "Use LibVLC
in an Qt application" and I have finally managed to use Qt's
signal/slot mechanism to do the asynchronous dispatch.
More information about the vlc-devel