[vlc-commits] qt: don't create the "window" variable in libvlc
Steve Lhomme
git at videolan.org
Tue Mar 17 10:05:48 CET 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Mar 13 14:50:18 2020 +0100| [30e67033baeb65c61795adf0b09f27ca3121b8df] | committer: Steve Lhomme
qt: don't create the "window" variable in libvlc
The variable already already exists. If it doesn't exist the
var_SetString("window", "qt,any") should fail as the UI won't work properly
anymore.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=30e67033baeb65c61795adf0b09f27ca3121b8df
---
modules/gui/qt/qt.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/gui/qt/qt.cpp b/modules/gui/qt/qt.cpp
index 14d9339f82..edecb4a588 100644
--- a/modules/gui/qt/qt.cpp
+++ b/modules/gui/qt/qt.cpp
@@ -681,7 +681,6 @@ static void *Thread( void *obj )
libvlc_int_t *libvlc = vlc_object_instance( p_intf );
var_Create( libvlc, "qt4-iface", VLC_VAR_ADDRESS );
- var_Create( libvlc, "window", VLC_VAR_STRING );
if( known_type )
{
@@ -731,7 +730,6 @@ static void *Thread( void *obj )
if (p_mi != NULL)
{
libvlc_int_t *libvlc = vlc_object_instance( p_intf );
- var_Destroy( libvlc, "window" );
var_Destroy( libvlc, "qt4-iface" );
}
return ThreadCleanup( p_intf, false );
More information about the vlc-commits
mailing list