diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-07-09 11:19:21 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-07-09 11:19:21 +0000 |
commit | 1544e6471755ec91d954ab604abdcedfac082acc (patch) | |
tree | 0af175ab9afea75e2d58a786fd30df07aebc9c34 /input | |
parent | 128ff990e990be2ec70bc2bfc27e874d3793ea8f (diff) | |
download | mpv-1544e6471755ec91d954ab604abdcedfac082acc.tar.bz2 mpv-1544e6471755ec91d954ab604abdcedfac082acc.tar.xz |
Add the sub_scale property and command.
Patch from Anatoli Marinov (anatoli [dot] marinov [at] gmail [dot] com).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23745 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 1 | ||||
-rw-r--r-- | input/input.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c index c6f3461b9a..3b9312a916 100644 --- a/input/input.c +++ b/input/input.c @@ -88,6 +88,7 @@ static mp_cmd_t mp_cmds[] = { { MP_CMD_SUB_SELECT, "vobsub_lang", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, // for compatibility { MP_CMD_SUB_SELECT, "sub_select", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, { MP_CMD_SUB_LOG, "sub_log", 0, { {-1,{0}} } }, + { MP_CMD_SUB_SCALE, "sub_scale",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, { MP_CMD_GET_PERCENT_POS, "get_percent_pos", 0, { {-1,{0}} } }, { MP_CMD_GET_TIME_POS, "get_time_pos", 0, { {-1,{0}} } }, { MP_CMD_GET_TIME_LENGTH, "get_time_length", 0, { {-1,{0}} } }, diff --git a/input/input.h b/input/input.h index cee0597fa0..264bd2269f 100644 --- a/input/input.h +++ b/input/input.h @@ -94,6 +94,7 @@ #define MP_CMD_RADIO_STEP_FREQ 92 #define MP_CMD_TV_STEP_FREQ 93 #define MP_CMD_BALANCE 96 +#define MP_CMD_SUB_SCALE 97 #define MP_CMD_GUI_EVENTS 5000 #define MP_CMD_GUI_LOADFILE 5001 |