[vlc-devel] [PATCH] qt:player: Show state of wallpaper mode in the debug message

vvaakshay at gmail.com vvaakshay at gmail.com
Thu Jan 16 17:51:51 CET 2020


From: Akshay V <vvaakshay at gmail.com>

This commit adds the state of wallpaper mode in the debug message along with "wallpaper mode changed" message like in the case of fullscreen mode
---
 modules/gui/qt/player/player_controller.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/player/player_controller.cpp b/modules/gui/qt/player/player_controller.cpp
index 3dfb375724..83b97dc662 100644
--- a/modules/gui/qt/player/player_controller.cpp
+++ b/modules/gui/qt/player/player_controller.cpp
@@ -797,7 +797,7 @@ static void on_player_vout_fullscreen_changed(vout_thread_t* vout, bool is_fulls
 static void on_player_vout_wallpaper_mode_changed(vout_thread_t* vout, bool enabled, void *data)
 {
     PlayerControllerPrivate* that = static_cast<PlayerControllerPrivate*>(data);
-    msg_Dbg( that->p_intf, "on_player_vout_wallpaper_mode_changed");
+    msg_Dbg( that->p_intf, "on_player_vout_wallpaper_mode_changed %s", enabled ? "enabled" : "disabled");
 
     PlayerController::VoutPtr voutPtr = PlayerController::VoutPtr(vout);
     that->callAsync([that,voutPtr, enabled] () {
-- 
2.17.1



More information about the vlc-devel mailing list