From 1d94bbed7dc5ddb213c2e12c551051ebe6742813 Mon Sep 17 00:00:00 2001 From: arpi Date: Thu, 5 Dec 2002 00:11:12 +0000 Subject: slave-mode commands to get movie length & pos patch by Balatoni Denes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8365 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/input.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'input/input.c') diff --git a/input/input.c b/input/input.c index d118ddf433..da633146eb 100644 --- a/input/input.c +++ b/input/input.c @@ -67,6 +67,8 @@ static mp_cmd_t mp_cmds[] = { { MP_CMD_SUB_POS, "sub_pos", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, { MP_CMD_SUB_VISIBILITY, "sub_visibility", 0, { {-1,{0}} } }, { MP_CMD_VOBSUB_LANG, "vobsub_lang", 0, { {-1,{0}} } }, + { MP_CMD_GET_PERCENT_POS, "get_percent_pos", 0, { {-1,{0}} } }, + { MP_CMD_GET_TIME_LENGTH, "get_time_length", 0, { {-1,{0}} } }, #ifdef USE_TV { MP_CMD_TV_STEP_CHANNEL, "tv_step_channel", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, { MP_CMD_TV_STEP_NORM, "tv_step_norm",0, { {-1,{0}} } }, -- cgit v1.2.3