[vlc-commits] interface: don't implement a set_tile callback for the vout_window_t

Steve Lhomme git at videolan.org
Wed Apr 3 10:58:45 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Apr  3 10:56:35 2019 +0200| [e08d25d45c12458eb9e5699a6a327b9b16e61266] | committer: Steve Lhomme

interface: don't implement a set_tile callback for the vout_window_t

Fixes warnings in C++.

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

 modules/gui/minimal_macosx/intf.m    | 1 +
 modules/gui/qt/main_interface.cpp    | 1 +
 modules/gui/skins2/src/skin_main.cpp | 1 +
 3 files changed, 3 insertions(+)

diff --git a/modules/gui/minimal_macosx/intf.m b/modules/gui/minimal_macosx/intf.m
index 5a471cc1cc..a37ed9483b 100644
--- a/modules/gui/minimal_macosx/intf.m
+++ b/modules/gui/minimal_macosx/intf.m
@@ -188,6 +188,7 @@ static const struct vout_window_operations ops = {
     WindowSetState,
     WindowUnsetFullscreen,
     WindowSetFullscreen,
+    NULL,
 };
 
 int WindowOpen(vout_window_t *p_wnd)
diff --git a/modules/gui/qt/main_interface.cpp b/modules/gui/qt/main_interface.cpp
index 82ce6e81a8..da3d809371 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -735,6 +735,7 @@ bool MainInterface::getVideo( struct vout_window_t *p_wnd )
         MainInterface::requestVideoState,
         MainInterface::requestVideoWindowed,
         MainInterface::requestVideoFullScreen,
+        NULL,
     };
 
     if( videoActive.test_and_set() )
diff --git a/modules/gui/skins2/src/skin_main.cpp b/modules/gui/skins2/src/skin_main.cpp
index c3aada4028..49793f86e6 100644
--- a/modules/gui/skins2/src/skin_main.cpp
+++ b/modules/gui/skins2/src/skin_main.cpp
@@ -434,6 +434,7 @@ static const struct vout_window_operations window_ops = {
     WindowSetState,
     WindowUnsetFullscreen,
     WindowSetFullscreen,
+    NULL,
 };
 
 static int WindowOpen( vout_window_t *pWnd )



More information about the vlc-commits mailing list