[vlc-commits] qt: add wayland-egl platform

Alexandre Janniaux git at videolan.org
Fri Feb 22 14:56:47 CET 2019


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Thu Feb 21 19:59:14 2019 +0100| [8251c860f56a883879dfb660f9373a531438fe60] | committer: Hugo Beauzée-Luyssen

qt: add wayland-egl platform

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8251c860f56a883879dfb660f9373a531438fe60
---

 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;



More information about the vlc-commits mailing list