summaryrefslogtreecommitdiffstats
path: root/libass/ass_types.h
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-28 15:07:18 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-28 15:07:18 +0000
commitefea99c2c9e8ea1f5a96a1cb86aa30ef05b6b828 (patch)
treed51dab1b5c89a9d2b15e52cdcc987c2d71f7ae44 /libass/ass_types.h
parenta383ad29ea73bb4383d088d04265ec53d931f257 (diff)
downloadmpv-efea99c2c9e8ea1f5a96a1cb86aa30ef05b6b828.tar.bz2
mpv-efea99c2c9e8ea1f5a96a1cb86aa30ef05b6b828.tar.xz
Libass interface reworked:
- ass_instance_t renamed to ass_renderer_t - ass_library_t introduced - use of mplayer-specific global variables limited to ass_mp.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20493 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_types.h')
-rw-r--r--libass/ass_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libass/ass_types.h b/libass/ass_types.h
index 4cae52daa5..2e3d5b5293 100644
--- a/libass/ass_types.h
+++ b/libass/ass_types.h
@@ -79,6 +79,8 @@ typedef struct ass_event_s {
typedef struct parser_priv_s parser_priv_t;
+typedef struct ass_library_s ass_library_t;
+
/// ass track represent either an external script or a matroska subtitle stream (no real difference between them)
/// it can be used in rendering after the headers are parsed (i.e. events format line read)
typedef struct ass_track_s {
@@ -104,6 +106,7 @@ typedef struct ass_track_s {
int default_style; // index of default style
char* name; // file name in case of external subs, 0 for streams
+ ass_library_t* library;
parser_priv_t* parser_priv;
} ass_track_t;