vlc | branch: master | Thomas Guillem <[email protected]> | Mon Sep  4 11:53:35 
2017 +0200| [0154e2485dbf3dae42109c61440fde6e7ed88024] | committer: Thomas 
Guillem

hotkeys: remove viewpoint handling from navigation

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

 modules/control/hotkeys.c | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 26520bd59c..690a4e5e6c 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -977,34 +977,18 @@ static int PutAction( intf_thread_t *p_intf, 
input_thread_t *p_input,
                 input_Control( p_input, INPUT_NAV_ACTIVATE, NULL );
             break;
         case ACTIONID_NAV_UP:
-            if( p_vout )
-                input_UpdateViewpoint( p_input,
-                                       &(vlc_viewpoint_t) { .pitch = -1.f },
-                                       false );
             if( p_input )
                 input_Control( p_input, INPUT_NAV_UP, NULL );
             break;
         case ACTIONID_NAV_DOWN:
-            if( p_vout )
-                input_UpdateViewpoint( p_input,
-                                       &(vlc_viewpoint_t) { .pitch = 1.f },
-                                       false );
             if( p_input )
                 input_Control( p_input, INPUT_NAV_DOWN, NULL );
             break;
         case ACTIONID_NAV_LEFT:
-            if( p_vout )
-                input_UpdateViewpoint( p_input,
-                                       &(vlc_viewpoint_t) { .yaw = -1.f },
-                                       false );
             if( p_input )
                 input_Control( p_input, INPUT_NAV_LEFT, NULL );
             break;
         case ACTIONID_NAV_RIGHT:
-            if( p_vout )
-                input_UpdateViewpoint( p_input,
-                                       &(vlc_viewpoint_t) { .yaw = 1.f },
-                                       false );
             if( p_input )
                 input_Control( p_input, INPUT_NAV_RIGHT, NULL );
             break;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to