[Mplayer-cvslog] CVS: main/input input.c,1.76,1.77 input.h,1.31,1.32
Gabucino
gabucino at mplayerhq.hu
Mon Aug 4 11:13:12 CEST 2003
Update of /cvsroot/mplayer/main/input
In directory mail:/var/tmp.root/cvs-serv31279/input
Modified Files:
input.c input.h
Log Message:
I'd like to change tv tuner frequency in the slave mode. So this patch
helps me.
Patch by Kir Kostuchenko <kir at users.sourceforge.net>
Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- input.c 9 Jul 2003 01:42:19 -0000 1.76
+++ input.c 4 Aug 2003 09:13:09 -0000 1.77
@@ -85,6 +85,8 @@
{ 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}} } },
Index: input.h
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.h,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- input.h 17 May 2003 09:21:21 -0000 1.31
+++ input.h 4 Aug 2003 09:13:09 -0000 1.32
@@ -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
More information about the MPlayer-cvslog
mailing list