summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-17 09:21:21 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-17 09:21:21 +0000
commit0e82afdab5bdb9d86c35a1faf8b2fa17849fbfbd (patch)
tree5dce6eb537e6cdc4aceb1c629041c4b84afb9be8 /input
parentcdf1feb30194dc9b83e986a2d160ec6d5653d89c (diff)
downloadmpv-0e82afdab5bdb9d86c35a1faf8b2fa17849fbfbd.tar.bz2
mpv-0e82afdab5bdb9d86c35a1faf8b2fa17849fbfbd.tar.xz
new slave mode command to show text via osd, patch by Lars Gemeinhardt <lars.gemeinhardt at searchbroker.de> (reviewed by albeu)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10117 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r--input/input.c1
-rw-r--r--input/input.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 080bc16bb6..059205a461 100644
--- a/input/input.c
+++ b/input/input.c
@@ -59,6 +59,7 @@ static mp_cmd_t mp_cmds[] = {
{ MP_CMD_SUB_DELAY, "sub_delay",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
{ MP_CMD_SUB_STEP, "sub_step",1, { { MP_CMD_ARG_INT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
{ MP_CMD_OSD, "osd",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } },
+ { MP_CMD_OSD_SHOW_TEXT, "osd_show_text", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
{ MP_CMD_VOLUME, "volume", 1, { { MP_CMD_ARG_INT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
{ MP_CMD_MIXER_USEMASTER, "use_master", 0, { {-1,{0}} } },
{ MP_CMD_MUTE, "mute", 0, { {-1,{0}} } },
diff --git a/input/input.h b/input/input.h
index e13493f0a0..34ff50067d 100644
--- a/input/input.h
+++ b/input/input.h
@@ -42,6 +42,7 @@
#endif
#define MP_CMD_SUB_ALIGNMENT 39
#define MP_CMD_TV_LAST_CHANNEL 40
+#define MP_CMD_OSD_SHOW_TEXT 41
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001