[vlc-devel] [PATCH] 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

Akshay V vvaakshay at gmail.com
Thu Jan 16 17:46:33 CET 2020


sorry for the commit message. I will send another one.


On Thu, Jan 16, 2020 at 10:11 PM <vvaakshay at gmail.com> wrote:

> From: Akshay V <vvaakshay at gmail.com>
>
> ---
>  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
>
>

-- 
Regards,
Akshay V
GitHub <http://github.com/akshayaky> | Amrita Vishwa Vidyapeetham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20200116/eebb74ae/attachment.html>


More information about the vlc-devel mailing list