[vlc-commits] qt: wallpaper mode is not supported on Windows

Rémi Denis-Courmont git at videolan.org
Sun May 20 19:51:13 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 16 23:17:09 2018 +0300| [5295bef4873377868e07e6cd9b4ee8069beb5f57] | committer: Rémi Denis-Courmont

qt: wallpaper mode is not supported on Windows

This avoids glitching as the window is created vout core and then
promptly deleted by the MSW display plugin.

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

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

diff --git a/modules/gui/qt/qt.cpp b/modules/gui/qt/qt.cpp
index dedd1e5994..659e89a04c 100644
--- a/modules/gui/qt/qt.cpp
+++ b/modules/gui/qt/qt.cpp
@@ -703,6 +703,7 @@ static int WindowOpen( vout_window_t *p_wnd, const vout_window_cfg_t *cfg )
     switch( p_intf->p_sys->voutWindowType )
     {
         case VOUT_WINDOW_TYPE_XID:
+        case VOUT_WINDOW_TYPE_HWND:
             if( var_InheritBool( p_wnd, "video-wallpaper" ) )
                 return VLC_EGENERIC;
             break;



More information about the vlc-commits mailing list