[vlc-commits] libvlc: add popup to libvlc_navigate_mode_t
Petri Hintukainen
git at videolan.org
Wed Mar 30 21:14:40 CEST 2016
vlc | branch: master | Petri Hintukainen <phintuka at gmail.com> | Mon Mar 28 14:14:02 2016 +0300| [c26349e50afae23c1e32bcb2d08479cc895520fb] | committer: Petri Hintukainen
libvlc: add popup to libvlc_navigate_mode_t
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c26349e50afae23c1e32bcb2d08479cc895520fb
---
include/vlc/libvlc_media_player.h | 3 ++-
lib/media_player.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h
index 5890805..7629760 100644
--- a/include/vlc/libvlc_media_player.h
+++ b/include/vlc/libvlc_media_player.h
@@ -137,7 +137,8 @@ typedef enum libvlc_navigate_mode_t
libvlc_navigate_up,
libvlc_navigate_down,
libvlc_navigate_left,
- libvlc_navigate_right
+ libvlc_navigate_right,
+ libvlc_navigate_popup
} libvlc_navigate_mode_t;
/**
diff --git a/lib/media_player.c b/lib/media_player.c
index b278c6f..2a8eb5f 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -1696,7 +1696,7 @@ void libvlc_media_player_navigate( libvlc_media_player_t* p_mi,
static const vlc_action_t map[] =
{
INPUT_NAV_ACTIVATE, INPUT_NAV_UP, INPUT_NAV_DOWN,
- INPUT_NAV_LEFT, INPUT_NAV_RIGHT,
+ INPUT_NAV_LEFT, INPUT_NAV_RIGHT, INPUT_NAV_POPUP,
};
if( navigate >= sizeof(map) / sizeof(map[0]) )
More information about the vlc-commits
mailing list