summaryrefslogtreecommitdiffstats
path: root/input/input.c
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-17 11:51:17 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-17 11:51:17 +0000
commit94674443a39349c459274668301f2d52a3f95820 (patch)
tree4c306f9dfcef836ab452f4cd56fd958c29c95a6e /input/input.c
parent1ea573c3bd06bb406bcd2d0e0db5fa72026c772d (diff)
downloadmpv-94674443a39349c459274668301f2d52a3f95820.tar.bz2
mpv-94674443a39349c459274668301f2d52a3f95820.tar.xz
New slave command: tv_step_freq <offset in MHz>
Command sets the TV frequency relative to current value git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22685 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input/input.c')
-rw-r--r--input/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 2cb65ed07f..1adff16b82 100644
--- a/input/input.c
+++ b/input/input.c
@@ -112,6 +112,7 @@ static mp_cmd_t mp_cmds[] = {
{ MP_CMD_TV_SET_CHANNEL, "tv_set_channel", 1, { { MP_CMD_ARG_STRING, {0}}, {-1,{0}} }},
{ MP_CMD_TV_LAST_CHANNEL, "tv_last_channel", 0, { {-1,{0}} } },
{ MP_CMD_TV_SET_FREQ, "tv_set_freq", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } },
+ { MP_CMD_TV_STEP_FREQ, "tv_step_freq", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } },
{ MP_CMD_TV_SET_NORM, "tv_set_norm", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } },
{ MP_CMD_TV_SET_BRIGHTNESS, "tv_set_brightness", 1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT,{1} }, {-1,{0}} }},
{ MP_CMD_TV_SET_CONTRAST, "tv_set_contrast", 1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT,{1} }, {-1,{0}} }},