[vlc-devel] [PATCH] qt: replace "qt4-iface" variable by a singleton

Thomas Guillem thomas at gllm.fr
Fri Mar 29 21:24:47 CET 2019


For future readers: my patch is wrong because a libvlc instance configured without QT could use the QT intf from a libvlc instance configured with QT within the same process. 

On Fri, Mar 29, 2019, at 20:54, Rémi Denis-Courmont wrote:
> Le perjantaina 29. maaliskuuta 2019, 21.46.30 EET Thomas Guillem a écrit :
> > On Fri, Mar 29, 2019, at 20:24, Rémi Denis-Courmont wrote:
> > > Le perjantaina 29. maaliskuuta 2019, 19.27.00 EET Thomas Guillem a écrit :
> > > > The Qt interface was already unique, therefore there is no need to store
> > > > it
> > > > in a VLC variable.
> > > 
> > > This is not functionally equivalent, and therefore probably not correct.
> > 
> > Please tell me what is not equivalent.
> 
> Using a static variable versus using a LibVLC object variable.
> 
> -- 
> Rémi Denis-Courmont
> http://www.remlab.net/
> 
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list