Mercurial > mplayer.hg
diff subreader.h @ 10916:c36db88bfbc4
Subtitle alignment & smart splitting by Salvatore Falco
| author | henry |
|---|---|
| date | Sun, 21 Sep 2003 13:20:06 +0000 |
| parents | eb274fd5e84e |
| children | 9c66ef56b1b1 |
line wrap: on
line diff
--- a/subreader.h Sun Sep 21 13:12:58 2003 +0000 +++ b/subreader.h Sun Sep 21 13:20:06 2003 +0000 @@ -27,6 +27,9 @@ #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 @@ unsigned long end; char *text[SUB_MAX_TEXT]; + unsigned char alignment; } subtitle; typedef struct {
