[vlc-devel] commit: Fix cyclic dependancy between input and "sout stream" description ( Rafaël Carré )

Rémi Denis-Courmont rdenis at simphalempin.com
Tue May 13 16:56:15 CEST 2008


Le Tuesday 13 May 2008 17:51:53 Rémi Denis-Courmont, vous avez écrit :
> Le Tuesday 13 May 2008 17:34:40 Rafaël Carré, vous avez écrit :
> > >  Hence a sout plugin must yield the input (or any other foreign object)
> > > for as long as it needs it. Please revert.
> >
> > I will not revert, but instead I'll cook a good fix:
> >
> > What happens is that when no-sout-keep is specified, description keeps
> > the last reference on the input object, and when releasing it ( in
> > Del() ) the input will be destroyed, and all his children (including
> > description) also.
>
> This is totally broken.

By the way, the _correct_ solution involves subscribing to input state changes 
and releasing (asynchronously) it is terminating.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list