diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-02 19:17:32 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-02 19:17:32 +0000 |
commit | fc6751b73a248955673550a8a9e92499c5912c18 (patch) | |
tree | 8dc56408120503d49c9729615a38e591442b17a9 /libass/ass_types.h | |
parent | 549b7f03c8eab97cb816c92df6c09cc1799eb746 (diff) | |
download | mpv-fc6751b73a248955673550a8a9e92499c5912c18.tar.bz2 mpv-fc6751b73a248955673550a8a9e92499c5912c18.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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libass/ass_types.h b/libass/ass_types.h index 1743bfec10..5ec32a0169 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; |