[vlc-devel] commit: Added ChromaCreate/Destroy (cosmetic) (Laurent Aimar )

Laurent Aimar fenrir at via.ecp.fr
Mon Jun 30 12:59:00 CEST 2008


On Mon, Jun 30, 2008, Pierre d'Herbemont wrote:
> Given that chroma are refcounted, it is probably not a good idea to do the
> destructor that way. I think that you'd better use vlc_object_set_destructor().
> Else you might end up in using a destructed chroma->p_module.
 This thread is responsible for creating and destroying the chroma module.
Nobody else should destroy it behind my back or ...
Beside, I need the chroma module to be destroyed when I asked it (and not
delayed)

-- 
fenrir



More information about the vlc-devel mailing list