summaryrefslogtreecommitdiffstats
path: root/libass/ass_types.h
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-02 19:17:32 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-02 19:17:32 +0000
commit8276250ea0e0b1bf589914b197ea35b650ee6820 (patch)
treec399d41a17c93e34b153b0f0227269304ee65814 /libass/ass_types.h
parentb14a183358b97b679b42dd7470372ea3caedf500 (diff)
downloadlibass-8276250ea0e0b1bf589914b197ea35b650ee6820.tar.bz2
libass-8276250ea0e0b1bf589914b197ea35b650ee6820.tar.xz
Better collision detection algorithm. The idea is to keep a subtitle in place
when a lower placed one disappears, thus improving readability. As a side effect, layers are supported now. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19644 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_types.h')
-rw-r--r--libass/ass_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libass/ass_types.h b/libass/ass_types.h
index 1743bfe..5ec32a0 100644
--- a/libass/ass_types.h
+++ b/libass/ass_types.h
@@ -36,6 +36,8 @@ typedef struct ass_style_s {
int Encoding;
} ass_style_t;
+typedef struct render_priv_s render_priv_t;
+
/// ass_event_t corresponds to a single Dialogue line
/// Text is stored as-is, style overrides will be parsed later
typedef struct ass_event_s {
@@ -51,6 +53,8 @@ typedef struct ass_event_s {
int MarginV;
char* Effect;
char* Text;
+
+ render_priv_t* render_priv;
} ass_event_t;
typedef struct parser_priv_s parser_priv_t;