summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-06 17:40:51 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-06 17:40:51 +0000
commitce587559f7906aca349894164d8dc22419866949 (patch)
tree5d6ef5fc1bf3280a068532af8e5d3f0831c50ee7 /input/input.h
parent1b28b8a9c7aeb47ced6631fa8bd906bcd7ac7cae (diff)
downloadmpv-ce587559f7906aca349894164d8dc22419866949.tar.bz2
mpv-ce587559f7906aca349894164d8dc22419866949.tar.xz
This patch adds the functionality to disable/enable subtitles while playing
a video. I mapped it to the input-keyword "sub_visibility". This keyword is mapped to the 'v' key on the keyboard. I tested the patch with old-fashioned subtitles, with freetype subtitles and DVD subtitles. Works fine. The patch also includes documentation updates. patch by Uwe.Reder@3SOFT.de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7629 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input/input.h')
-rw-r--r--input/input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/input.h b/input/input.h
index f98a6ec43a..98b3cc0347 100644
--- a/input/input.h
+++ b/input/input.h
@@ -29,6 +29,7 @@
#define MP_CMD_LOADLIST 27
#define MP_CMD_VF_CHANGE_RECTANGLE 28
#define MP_CMD_GAMMA 29
+#define MP_CMD_SUB_VISIBILITY 30
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001