diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-06 07:13:57 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-06 07:13:57 +0000 |
commit | 08b4af80fac1446b54413219173aeb2e64d8f99d (patch) | |
tree | 02d1cdc41b35f56defc6c4930b11f1acc161db47 /input | |
parent | 414248ded1fc5c3e32d98124548caaf4828b8407 (diff) | |
download | mpv-08b4af80fac1446b54413219173aeb2e64d8f99d.tar.bz2 mpv-08b4af80fac1446b54413219173aeb2e64d8f99d.tar.xz |
add mute support ( step 1 ) and fixed panscan bugs (1000l for me)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6312 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 4 | ||||
-rw-r--r-- | input/input.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c index 16899f62fd..8a5fab5ef3 100644 --- a/input/input.c +++ b/input/input.c @@ -52,6 +52,7 @@ static mp_cmd_t mp_cmds[] = { { MP_CMD_OSD, "osd",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, { MP_CMD_VOLUME, "volume", 1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } }, { MP_CMD_MIXER_USEMASTER, "use_master", 0, { {-1,{0}} } }, + { MP_CMD_MUTE, "mute", 0, { {-1,{0}} } }, { MP_CMD_CONTRAST, "contrast",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, { MP_CMD_BRIGHTNESS, "brightness",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, { MP_CMD_HUE, "hue",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, @@ -205,6 +206,7 @@ static mp_cmd_bind_t def_cmd_binds[] = { { { '/', 0 }, "volume -1" }, { { '0', 0 }, "volume 1" }, { { '*', 0 }, "volume 1" }, + { { 'm', 0 }, "mute" }, { { '1', 0 }, "contrast -1" }, { { '2', 0 }, "contrast 1" }, { { '3', 0 }, "brightness -1" }, @@ -220,7 +222,7 @@ static mp_cmd_bind_t def_cmd_binds[] = { { { 'h', 0 }, "tv_step_channel 1" }, { { 'k', 0 }, "tv_step_channel -1" }, { { 'n', 0 }, "tv_step_norm" }, - { { 'm', 0 }, "tv_step_chanlist" }, + { { 'u', 0 }, "tv_step_chanlist" }, #endif #ifdef HAVE_NEW_GUI { { 'l', 0 }, "gui_loadfile" }, diff --git a/input/input.h b/input/input.h index 462c142b62..c989c8f585 100644 --- a/input/input.h +++ b/input/input.h @@ -27,6 +27,7 @@ #define MP_CMD_DVDNAV 22 #define MP_CMD_SCREENSHOT 23 #define MP_CMD_PANSCAN 24 +#define MP_CMD_MUTE 25 #define MP_CMD_GUI_EVENTS 5000 #define MP_CMD_GUI_LOADFILE 5001 |