diff options
Diffstat (limited to 'ext/ttml/ttmlparse.c')
-rw-r--r-- | ext/ttml/ttmlparse.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/ttml/ttmlparse.c b/ext/ttml/ttmlparse.c index 57a6288fd..e097644fb 100644 --- a/ext/ttml/ttmlparse.c +++ b/ext/ttml/ttmlparse.c @@ -234,6 +234,7 @@ ttml_parse_style_set (const xmlNode * node) for (attr = node->properties; attr != NULL; attr = attr->next) { if (attr->ns && ((g_strcmp0 ((const gchar *) attr->ns->prefix, "tts") == 0) + || (g_strcmp0 ((const gchar *) attr->ns->prefix, "itts") == 0) || (g_strcmp0 ((const gchar *) attr->ns->prefix, "ebutts") == 0))) { ttml_style_set_add_attr (s, (const gchar *) attr->name, (const gchar *) attr->children->content); @@ -658,6 +659,11 @@ ttml_update_style_set (GstSubtitleStyleSet * style_set, TtmlStyleSet * tss, else style_set->overflow = GST_SUBTITLE_OVERFLOW_MODE_HIDDEN; } + + if ((attr = ttml_style_set_get_attr (tss, "fillLineGap"))) { + if (g_strcmp0 (attr, "true") == 0) + style_set->fill_line_gap = TRUE; + } } |