[vlc-devel] [PATCH] qt: add wayland-egl platform

Alexandre Janniaux ajanni at videolabs.io
Thu Feb 21 19:59:14 CET 2019


---
 modules/gui/qt/qt.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/qt.cpp b/modules/gui/qt/qt.cpp
index 00294ecae5..d8165a6aea 100644
--- a/modules/gui/qt/qt.cpp
+++ b/modules/gui/qt/qt.cpp
@@ -577,7 +577,7 @@ static void *Thread( void *obj )
         QString platform = app.platformName();
         if( platform == qfu("xcb") )
             p_sys->voutWindowType = VOUT_WINDOW_TYPE_XID;
-        else if( platform == qfu("wayland") )
+        else if( platform == qfu("wayland") || platform == qfu("wayland-egl") )
             p_sys->voutWindowType = VOUT_WINDOW_TYPE_WAYLAND;
         else if( platform == qfu("windows") )
             p_sys->voutWindowType = VOUT_WINDOW_TYPE_HWND;
-- 
2.20.1



More information about the vlc-devel mailing list