[vlc-commits] qt:player: Show state of wallpaper mode in the debug message
Akshay V
git at videolan.org
Tue Feb 4 15:04:40 CET 2020
vlc | branch: master | Akshay V <vvaakshay at gmail.com> | Thu Jan 16 22:39:51 2020 +0530| [99af2deca72200426dfa6c6884930395d292aff3] | committer: Thomas Guillem
qt:player: Show state of wallpaper mode in the debug message
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.
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=99af2deca72200426dfa6c6884930395d292aff3
---
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 b7e39086e9..724232062b 100644
--- a/modules/gui/qt/player/player_controller.cpp
+++ b/modules/gui/qt/player/player_controller.cpp
@@ -802,7 +802,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] () {
More information about the vlc-commits
mailing list