[vlc-devel] [PATCH 10/13] hotkeys: re-indent after last commit
Thomas Guillem
thomas at gllm.fr
Mon Apr 15 15:50:55 CEST 2019
---
modules/control/hotkeys.c | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 3a68846a11..b81debb4ea 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -1022,22 +1022,22 @@ player_on_vout_changed(vlc_player_t *player,
bool vrnav = var_GetBool(vout, "viewpoint-changeable");
switch (action)
{
- case VLC_PLAYER_VOUT_STARTED:
- var_AddCallback(vout, "mouse-button-down", MouseButtonCallback, intf);
- var_AddCallback(vout, "mouse-moved", MouseMovedCallback, intf->p_sys);
- if (vrnav)
- var_AddCallback(vout, "viewpoint-moved",
- ViewpointMovedCallback, player);
- break;
- case VLC_PLAYER_VOUT_STOPPED:
- var_DelCallback(vout, "mouse-button-down", MouseButtonCallback, intf);
- var_DelCallback(vout, "mouse-moved", MouseMovedCallback, intf->p_sys);
- if (vrnav)
- var_DelCallback(vout, "viewpoint-moved",
- ViewpointMovedCallback, player);
- break;
- default:
- vlc_assert_unreachable();
+ case VLC_PLAYER_VOUT_STARTED:
+ var_AddCallback(vout, "mouse-button-down", MouseButtonCallback, intf);
+ var_AddCallback(vout, "mouse-moved", MouseMovedCallback, intf->p_sys);
+ if (vrnav)
+ var_AddCallback(vout, "viewpoint-moved",
+ ViewpointMovedCallback, player);
+ break;
+ case VLC_PLAYER_VOUT_STOPPED:
+ var_DelCallback(vout, "mouse-button-down", MouseButtonCallback, intf);
+ var_DelCallback(vout, "mouse-moved", MouseMovedCallback, intf->p_sys);
+ if (vrnav)
+ var_DelCallback(vout, "viewpoint-moved",
+ ViewpointMovedCallback, player);
+ break;
+ default:
+ vlc_assert_unreachable();
}
}
--
2.20.1
More information about the vlc-devel
mailing list