[vlc-devel] CIL bindings and brain dump on LibVLC
pdherbemont at free.fr
Sun Oct 21 23:28:51 CEST 2007
On Oct 21, 2007, at 9:36 PM, Rémi Denis-Courmont wrote:
> The other big problem I have had is the lack of reference counting on
> libvlc_instance_t. The garbage collector ensures that any allocated
> libvlc_instance_t will be released with libvlc_destory, but it
> cannot warrant
> that any other dependent LibVLC object such as a media instance or
> a media
> descriptor will not similarly be released *after*
> libvlc_instance_t... and
> then, it does actually crash the whole process :-(
> I would really prefer that libvlc_instance_t be reference counted,
> whenever a dependant object is allocated, and released whenever it is
> destroyed, so that it may survive beyond libvlc_destroy if needed.
> There is
> support for reference counting the handle in CIL, but I think it
> would be
> clumsy to do so.
Feel free to implement refcounting for it, that's the way to go to me.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel