[vlc-devel] [PATCH 3/5] hotkeys: remove viewpoint handling from navigation
Thomas Guillem
thomas at gllm.fr
Mon Sep 4 12:33:03 CEST 2017
---
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;
--
2.11.0
More information about the vlc-devel
mailing list