gstreamer/ext/ttml
Chris Bass acfaf3a001 ttmlparse: Consolidate adjacent co-styled inline elements
A common subtitling use case is live-generated subtitles, in which each
new word is contained in its own span, and the spans are displayed
sequentially, with the effect that lines of displayed subtitles are
built up word-by-word.

This can, however, cause problems when the number of words in a block is
greater than the number of allowed GstMemorys in a GstBuffer.

Since in this use case each span will have the same styling as adjacent
spans, we can join adjacent spans (and other inline elements, such as
breaks) into a single element containing the concatenated text of each,
thus avoiding the limit of GstMemorys in a GstBuffer and also reducing
the amount of styling/layout metadata that is attached to each buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=781725
2017-04-25 22:18:53 +03:00
..
gstttmlparse.c docs: Port all docstring to gtk-doc markdown 2017-04-12 12:57:57 -03:00
gstttmlparse.h ttml: Add plugin that supports TTML subtitles 2016-11-01 20:46:46 +02:00
gstttmlplugin.c ttml: build, but don't autoplug unless GST_TTML_AUTOPLUG env var is set 2017-04-13 11:33:41 +01:00
gstttmlrender.c ttmlrender: Fix potential resource leak identified by coverity 2017-04-20 10:40:32 +01:00
gstttmlrender.h ttmlrender: apply correct line height to blocks with multiple text sizes 2017-04-09 10:42:08 +03:00
Makefile.am ttml: Link with -lm for round() 2017-01-12 15:39:13 +02:00
meson.build meson/ttml: Add missing math library dependency 2016-11-30 22:40:45 -05:00
subtitle.c docs: Port all docstring to gtk-doc markdown 2017-04-12 12:57:57 -03:00
subtitle.h ttml: add refcounting to GstSubtitleStlyeSet type 2017-04-09 10:42:08 +03:00
subtitlemeta.c docs: Port all docstring to gtk-doc markdown 2017-04-12 12:57:57 -03:00
subtitlemeta.h ttml: Add plugin that supports TTML subtitles 2016-11-01 20:46:46 +02:00
ttmlparse.c ttmlparse: Consolidate adjacent co-styled inline elements 2017-04-25 22:18:53 +03:00
ttmlparse.h ttml: Add plugin that supports TTML subtitles 2016-11-01 20:46:46 +02:00