diff options
author | Chris Bass <floobleflam@gmail.com> | 2017-04-24 11:34:41 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-04-25 22:18:53 +0300 |
commit | 8b19cccfc516800accb73dd439aa0d133826a413 (patch) | |
tree | 7f297bcd6756a3a70ab18e2e58ebd0e4ce0a78c5 | |
parent | d8afce67c3884aaa4f5961605380664e49dfe1d1 (diff) | |
download | gstreamer-plugins-bad-8b19cccfc516800accb73dd439aa0d133826a413.tar.gz |
ttmlparse: Remove redundant text_index field of TtmlElement
https://bugzilla.gnome.org/show_bug.cgi?id=781725
-rw-r--r-- | ext/ttml/ttmlparse.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/ttml/ttmlparse.c b/ext/ttml/ttmlparse.c index e029e703e..2ad0b0da5 100644 --- a/ext/ttml/ttmlparse.c +++ b/ext/ttml/ttmlparse.c @@ -89,7 +89,6 @@ struct _TtmlElement GstClockTime end; TtmlStyleSet *style_set; gchar *text; - guint text_index; }; /* Represents a static scene consisting of one or more trees of elements that @@ -1411,7 +1410,6 @@ ttml_copy_element (const TtmlElement * element) ret->style_set = ttml_style_set_copy (element->style_set); if (element->text) ret->text = g_strdup (element->text); - ret->text_index = element->text_index; return ret; } @@ -1498,8 +1496,6 @@ ttml_add_element (GstSubtitleBlock * block, TtmlElement * element, element_style = gst_subtitle_style_set_new (); ttml_update_style_set (element_style, element->style_set, cellres_x, cellres_y); - GST_CAT_DEBUG (ttmlparse_debug, "Creating element with text index %u", - element->text_index); if (element->type != TTML_ELEMENT_TYPE_BR) buffer_index = ttml_add_text_to_buffer (buf, element->text); |