[vlc-devel] commit: Fix release of chroma module in vout core.Istill get an " object is not (Antoine Cellerier )
Antoine Cellerier
dionoea at videolan.org
Mon Jun 23 10:06:11 CEST 2008
On Mon, Jun 23, 2008, Remi Denis-Courmont wrote:
> > I added a if( p_this->i_object_type == VLC_OBJECT_FILTER ) abort(); in
> > vlc_object_detach() and it only was called once ... with p_parent set to
> > NULL. (The object is clearly attached at creation ... in fact if you
> > detach right after creation it works fine)
>
> Now that I think of it. This can happen if the parent has been destroyed
> before the child. You can omit vlc_object_detach() if it comes right before
> vlc_object_release() I guess.
What does "parent has been destroyed" mean? (This call to
vlc_object_detach() is in the vout thread destructor code ... the vout
object still exists at that point)
--
Antoine Cellerier
dionoea
More information about the vlc-devel
mailing list