From e28bd7c6dee5cb060c08777a6c90d30df4aa6c4b Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 24 Jan 2008 19:14:05 +0000 Subject: Add new command to switch between dvdnav titles Based on parts of dvdnav monster patches from Otvos Attila git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25845 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/input.c | 1 + input/input.h | 1 + 2 files changed, 2 insertions(+) (limited to 'input') diff --git a/input/input.c b/input/input.c index 6073451c8b..de31ccd20e 100644 --- a/input/input.c +++ b/input/input.c @@ -120,6 +120,7 @@ static const mp_cmd_t mp_cmds[] = { { MP_CMD_GET_META_GENRE, "get_meta_genre", 0, { {-1,{0}} } }, { MP_CMD_SWITCH_AUDIO, "switch_audio", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, { MP_CMD_SWITCH_ANGLE, "switch_angle", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, + { MP_CMD_SWITCH_TITLE, "switch_title", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, #ifdef USE_TV { MP_CMD_TV_START_SCAN, "tv_start_scan", 0, { {-1,{0}} }}, { MP_CMD_TV_STEP_CHANNEL, "tv_step_channel", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, diff --git a/input/input.h b/input/input.h index c75f370ca7..1290ecd19d 100644 --- a/input/input.h +++ b/input/input.h @@ -108,6 +108,7 @@ #define MP_CMD_SUB_DEMUX 104 #define MP_CMD_SWITCH_ANGLE 105 #define MP_CMD_ASS_USE_MARGINS 106 +#define MP_CMD_SWITCH_TITLE 107 #define MP_CMD_GUI_EVENTS 5000 #define MP_CMD_GUI_LOADFILE 5001 -- cgit v1.2.3