summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-28 22:57:39 +0000
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-28 22:57:39 +0000
commit29ab7de580596c48d71a990c84cab1917de5e272 (patch)
tree377b200fa73d3ae959fa710af7496f009d5c7967 /input
parentd949c62999dccb1235f7f4f684cd1144cce7a466 (diff)
downloadmpv-29ab7de580596c48d71a990c84cab1917de5e272.tar.bz2
mpv-29ab7de580596c48d71a990c84cab1917de5e272.tar.xz
user friendly channel tuning + 10L fix in tvi_v4l (by Stephane Jourdois)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8628 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r--input/input.c1
-rw-r--r--input/input.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/input/input.c b/input/input.c
index b6b245a0f1..c22b23b1ac 100644
--- a/input/input.c
+++ b/input/input.c
@@ -79,6 +79,7 @@ static mp_cmd_t mp_cmds[] = {
{ MP_CMD_TV_STEP_NORM, "tv_step_norm",0, { {-1,{0}} } },
{ 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}} } },
#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 bddb5935a1..e13493f0a0 100644
--- a/input/input.h
+++ b/input/input.h
@@ -19,7 +19,6 @@
#define MP_CMD_TV_STEP_CHANNEL 17
#define MP_CMD_TV_STEP_NORM 18
#define MP_CMD_TV_STEP_CHANNEL_LIST 19
-#define MP_CMD_TV_SET_CHANNEL 37
#define MP_CMD_VO_FULLSCREEN 20
#define MP_CMD_SUB_POS 21
#define MP_CMD_DVDNAV 22
@@ -37,11 +36,12 @@
#define MP_CMD_GET_TIME_LENGTH 34
#define MP_CMD_GET_PERCENT_POS 35
#define MP_CMD_SUB_STEP 36
-//#define MP_CMD_TV_SET_CHANNEL 37
+#define MP_CMD_TV_SET_CHANNEL 37
#ifdef USE_EDL
#define MP_CMD_EDL_MARK 38
#endif
#define MP_CMD_SUB_ALIGNMENT 39
+#define MP_CMD_TV_LAST_CHANNEL 40
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001