summaryrefslogtreecommitdiffstats
path: root/subreader.h
diff options
context:
space:
mode:
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-21 13:20:06 +0000
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-21 13:20:06 +0000
commit1526dc6cdf8b226c43600eefc6ce137d73dd1f74 (patch)
tree6bc6df117347b59a78ae5a0e03ae185628029b91 /subreader.h
parentae8ddc80bdf20c3ab867c4bd77687418812df025 (diff)
downloadmpv-1526dc6cdf8b226c43600eefc6ce137d73dd1f74.tar.bz2
mpv-1526dc6cdf8b226c43600eefc6ce137d73dd1f74.tar.xz
Subtitle alignment & smart splitting by Salvatore Falco
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10917 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'subreader.h')
-rw-r--r--subreader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/subreader.h b/subreader.h
index 3b6b4c60c2..708b4a8945 100644
--- a/subreader.h
+++ b/subreader.h
@@ -27,6 +27,9 @@ extern int sub_format;
#define MAX_SUBTITLE_FILES 128
#define SUB_MAX_TEXT 10
+#define SUB_ALIGNMENT_HLEFT 1
+#define SUB_ALIGNMENT_HCENTER 0
+#define SUB_ALIGNMENT_HRIGHT 2
typedef struct {
@@ -36,6 +39,7 @@ typedef struct {
unsigned long end;
char *text[SUB_MAX_TEXT];
+ unsigned char alignment;
} subtitle;
typedef struct {