Mercurial > mplayer.hg
diff input/input.c @ 8364:137b7574c85f
slave-mode commands to get movie length & pos
patch by Balatoni Denes <pnis@coder.hu>
| author | arpi |
|---|---|
| date | Thu, 05 Dec 2002 00:11:12 +0000 |
| parents | 1fb6b78d62d6 |
| children | 423a19edc0a4 |
line wrap: on
line diff
--- a/input/input.c Thu Dec 05 00:07:59 2002 +0000 +++ b/input/input.c Thu Dec 05 00:11:12 2002 +0000 @@ -67,6 +67,8 @@ { 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}} } },
