From bff4b3ee5eda10ba77f968015e9bcc7585a793e9 Mon Sep 17 00:00:00 2001 From: gabucino Date: Mon, 4 Aug 2003 09:13:10 +0000 Subject: I'd like to change tv tuner frequency in the slave mode. So this patch helps me. Patch by Kir Kostuchenko git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10522 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/input.c | 2 ++ input/input.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'input') 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 -- cgit v1.2.3