summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-23 01:37:43 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-23 01:37:43 +0000
commit725ff339e7093f11e1da39156cf7266dd6582f09 (patch)
treebdbd9ed7cb6e62dfa5798acfa251efab26d4b8a7 /input/input.h
parent38c4cdcfc587804cdb2dbb9f980ded0ca2659978 (diff)
downloadmpv-725ff339e7093f11e1da39156cf7266dd6582f09.tar.bz2
mpv-725ff339e7093f11e1da39156cf7266dd6582f09.tar.xz
This patch adds support for vertical subtitle alignment
control. Possible values are top, center, and bottom, with bottom being the default. Alignment is relevant when it comes to positioning subtitles with one line (or fewer lines) of text relative to multi-line subtitles. It is implemented as a new command (sub_alignment) that without an argument cycles the alignment (between top, center, and bottom), or with an argument sets the alignment (0 for top, 1 for center, 2 for bottom). The key 'i' is bound to this command. patch by Oskar Liljeblad (oskar@osk.mine.nu) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8535 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 b55aaa40cd..bddb5935a1 100644
--- a/input/input.h
+++ b/input/input.h
@@ -41,6 +41,7 @@
#ifdef USE_EDL
#define MP_CMD_EDL_MARK 38
#endif
+#define MP_CMD_SUB_ALIGNMENT 39
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001