[vlc-commits] hotkeys: re-indent after last commit

Thomas Guillem git at videolan.org
Fri May 10 09:51:38 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Apr 15 14:04:59 2019 +0200| [800a530f3e5f83d6372400475c6dea3f6e923c73] | committer: Thomas Guillem

hotkeys: re-indent after last commit

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=800a530f3e5f83d6372400475c6dea3f6e923c73
---

 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();
     }
 }
 



More information about the vlc-commits mailing list