[Mplayer-cvslog] CVS: main/input input.c,1.77,1.78 input.h,1.33,1.34
Gabucino
gabucino at mplayerhq.hu
Tue Aug 12 09:38:52 CEST 2003
Update of /cvsroot/mplayer/main/input
In directory mail:/var/tmp.root/cvs-serv32091/input
Modified Files:
input.c input.h
Log Message:
Hi, here are slave commands:
tv_set_brightness
tv_set_contrast
tv_set_hue
tv_set_color
Patch by Kir Kostuchenko <kir at users.sourceforge.net>
Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- input.c 4 Aug 2003 09:13:09 -0000 1.77
+++ input.c 12 Aug 2003 07:38:49 -0000 1.78
@@ -87,6 +87,10 @@
{ 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}} } },
+ { MP_CMD_TV_SET_BRIGHTNESS, "tv_set_brightness", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }},
+ { MP_CMD_TV_SET_CONTRAST, "tv_set_contrast", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }},
+ { MP_CMD_TV_SET_HUE, "tv_set_hue", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }},
+ { MP_CMD_TV_SET_SATURATION, "tv_set_saturation", 1, { { MP_CMD_ARG_INT ,{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.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- input.h 11 Aug 2003 14:32:53 -0000 1.33
+++ input.h 12 Aug 2003 07:38:49 -0000 1.34
@@ -45,6 +45,10 @@
#define MP_CMD_OSD_SHOW_TEXT 41
#define MP_CMD_TV_SET_FREQ 42
#define MP_CMD_TV_SET_NORM 43
+#define MP_CMD_TV_SET_BRIGHTNESS 44
+#define MP_CMD_TV_SET_CONTRAST 45
+#define MP_CMD_TV_SET_HUE 46
+#define MP_CMD_TV_SET_SATURATION 47
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001
More information about the MPlayer-cvslog
mailing list