[vlc-devel] [PATCH] qt:player: Show state of wallpaper mode in the debug message
Thomas Guillem
thomas at gllm.fr
Mon Jan 20 08:36:23 CET 2020
Better commit message indeed ;)
LGTM
On Thu, Jan 16, 2020, at 17:51, vvaakshay at gmail.com wrote:
> 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
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list