summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorgabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-04 09:13:10 +0000
committergabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-04 09:13:10 +0000
commitbff4b3ee5eda10ba77f968015e9bcc7585a793e9 (patch)
tree64c3334cda6089f4afcfda731ba792e101af4ac1 /input
parent0bb8ec366fef0e549e0d173adc0979cb06a686a9 (diff)
downloadmpv-bff4b3ee5eda10ba77f968015e9bcc7585a793e9.tar.bz2
mpv-bff4b3ee5eda10ba77f968015e9bcc7585a793e9.tar.xz
I'd like to change tv tuner frequency in the slave mode. So this patch
helps me. Patch by Kir Kostuchenko <kir@users.sourceforge.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10522 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r--input/input.c2
-rw-r--r--input/input.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index bcac10be80..29949c2782 100644
--- a/input/input.c
+++ b/input/input.c
@@ -85,6 +85,8 @@ static mp_cmd_t mp_cmds[] = {
{ MP_CMD_TV_STEP_CHANNEL_LIST, "tv_step_chanlist", 0, { {-1,{0}} } },
{ 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_SET_NORM, "tv_set_norm", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } },
#endif
{ MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 0, { {-1,{0}} } },
{ MP_CMD_SCREENSHOT, "screenshot", 0, { {-1,{0}} } },
diff --git a/input/input.h b/input/input.h
index 34ff50067d..1e6392d612 100644
--- a/input/input.h
+++ b/input/input.h
@@ -43,6 +43,8 @@
#define MP_CMD_SUB_ALIGNMENT 39
#define MP_CMD_TV_LAST_CHANNEL 40
#define MP_CMD_OSD_SHOW_TEXT 41
+#define MP_CMD_TV_SET_FREQ 42
+#define MP_CMD_TV_SET_NORM 43
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001