[vlc-devel] [PATCH] libvlc_vlm_release : release events stuff
Sébastien Escudier
sebastien-devel at celeos.eu
Mon Jun 22 21:12:14 CEST 2009
Quoting Rémi Denis-Courmont <remi at remlab.net>:
>
> On Tue, 16 Jun 2009 09:10:50 +0200, Sébastien Escudier
> <sebastien-devel at celeos.eu> wrote:
> > I don't know if callbacks need to be released before vlc exit ?
>
> Callback registrations MUST be undone, and pending callback invocation MUST
> be completed, BEFORE any data that the said callback uses is released.
Ok,
the callback is added in libvlc_vlm_init (internal function) called on the first
libvlc_vlm_* user call.
So can we delete the callback in libvlc_vlm_release and say the user MUST call
it before libvlc release.
Or is there another place to do it ? because the other things are cleanly
released without this call.
Seb
More information about the vlc-devel
mailing list