[vlc-commits] subtitles: ttml: add comment
Francois Cartegnie
git at videolan.org
Tue Feb 14 17:51:01 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Feb 14 16:31:20 2017 +0100| [6d278f09ac7ef732813aa3aa26f38172d95eabfc] | committer: Francois Cartegnie
subtitles: ttml: add comment
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6d278f09ac7ef732813aa3aa26f38172d95eabfc
---
modules/codec/ttml/substtml.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/modules/codec/ttml/substtml.c b/modules/codec/ttml/substtml.c
index f78c926..c244e20 100644
--- a/modules/codec/ttml/substtml.c
+++ b/modules/codec/ttml/substtml.c
@@ -77,6 +77,13 @@ enum
UNICODE_BIDI_OVERRIDE = 4,
};
+/*
+ * TTML Parsing and inheritance order:
+ * Each time a text node is found and belongs to out time interval,
+ * we backward merge attributes dictionnary up to root.
+ * Then we convert attributes, merging with style by id or region
+ * style, and sets from parent node.
+ */
static tt_node_t *ParseTTML( decoder_t *, const uint8_t *, size_t );
static void ttml_style_Delete( ttml_style_t* p_ttml_style )
More information about the vlc-commits
mailing list