ttml codec: add span and p style attributes parsing for inheritence
commit24d4561496fae1f814c3097d262549367a432956
authorStanislas Plessia <stplessia@gmail.com>
Mon, 29 Aug 2016 14:01:07 +0000 (29 16:01 +0200)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Wed, 14 Sep 2016 16:24:14 +0000 (14 18:24 +0200)
treefc0afa8717e2caae30860f72b5a32b3b7a4461af
parent14fc8c86437843cd5589ae4f6758bb1e1e880d88
ttml codec: add span and p style attributes parsing for inheritence

To simplify how the function works, we first parse and merge
all the tag attributes and push the resulting style onto the
style stack, and when we find text, we create the text segment
and apply the last style on it

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
modules/codec/substtml.c