[vlc-devel] [PATCH] Deprecate vlc_clone_detach()

Rémi Denis-Courmont remi at remlab.net
Sun Sep 6 15:31:07 CEST 2020


Le sunnuntaina 6. syyskuuta 2020, 16.15.05 EEST Romain Vimont a écrit :
> Hi,
> 
> On Sun, Sep 06, 2020 at 03:32:27PM +0300, Rémi Denis-Courmont wrote:
> > The documention outright lies about LibVLC waiting to make this functon
> > safe. There are no ways to use this function safely other than linking
> > LibVLC statically into the application, which is not *generally*
> > practical.
> 
> I have mixed feelings about this.
> 
> I'm wondering if it would not just be better to just document that
> unloading the libvlc library is undefined behavior.

We used to support this until Filip broke it. People rely on this, with no 
alternatives, e.g. the Python CTypes and JNI bindings.

We can't just undefine it now.

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





More information about the vlc-devel mailing list