[vlc-devel] [PATCH] libvlc_vlm_release : release events stuff

Sébastien Escudier sebastien-devel at celeos.eu
Tue Jun 16 09:59:40 CEST 2009


Quoting Rafaël Carré <rafael.carre at gmail.com>:

> The callbacks are part of the variable they're attached to, and all the
> variables are destroyed when an object is released (see
> vlc_object_destroy and __var_Destroy in src/misc); so I think there is
> no need to destroy them if your release the object.

ok, thanks.

So it's fine on exit, but the patch is still required because vlm_Delete( p_vlm
); may not release vlm if --vlm-conf is used on start up.
And in this case we don't want the callback anymore.




More information about the vlc-devel mailing list