diff options
Diffstat (limited to 'input/input.c')
-rw-r--r-- | input/input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c index be4e0f698d..843aa97048 100644 --- a/input/input.c +++ b/input/input.c @@ -49,6 +49,7 @@ static mp_cmd_t mp_cmds[] = { { MP_CMD_HUE, "hue",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, { MP_CMD_SATURATION, "saturation",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, { MP_CMD_FRAMEDROPPING, "frame_drop",0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, + { MP_CMD_SUB_POS, "sub_pos", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{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}} } }, @@ -176,6 +177,8 @@ static mp_cmd_bind_t def_cmd_binds[] = { { { '7', 0 }, "saturation -1" }, { { '8', 0 }, "saturation 1" }, { { 'd', 0 }, "frame_drop" }, + { { 'r', 0 }, "sub_pos -1" }, + { { 't', 0 }, "sub_pos +1" }, #ifdef USE_TV { { 'h', 0 }, "tv_step_channel 1" }, { { 'k', 0 }, "tv_step_channel -1" }, |