gstreamer/ext/ttml
Chris Bass 0288ee24e9 ttml: correctly implement lineHeight behaviour
The specified behaviour in TTML when lineHeight is "normal" is different
from the behaviour when a percentage is given. In the former case, the
line height is a percentage (the TTML spec recommends 125%) of the largest
font size that is applied to the spans within the block; in the latter
case, the line height is the given percentage of the font size that is
applied to the block itself.

The code doesn't correctly implement this behaviour; this patch fixes
that.

https://bugzilla.gnome.org/show_bug.cgi?id=780402
2017-04-09 10:42:08 +03:00
..
gstttmlparse.c ttmlparse: Transform caps event 2016-12-12 10:57:29 +02:00
gstttmlparse.h ttml: Add plugin that supports TTML subtitles 2016-11-01 20:46:46 +02:00
gstttmlplugin.c ttml: Add plugin that supports TTML subtitles 2016-11-01 20:46:46 +02:00
gstttmlrender.c ttml: correctly implement lineHeight behaviour 2017-04-09 10:42:08 +03: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 ttml: correctly implement lineHeight behaviour 2017-04-09 10:42:08 +03:00
subtitle.h ttml: add refcounting to GstSubtitleStlyeSet type 2017-04-09 10:42:08 +03:00
subtitlemeta.c ttml: Add plugin that supports TTML subtitles 2016-11-01 20:46:46 +02:00
subtitlemeta.h ttml: Add plugin that supports TTML subtitles 2016-11-01 20:46:46 +02:00
ttmlparse.c ttml: correctly implement lineHeight behaviour 2017-04-09 10:42:08 +03:00
ttmlparse.h ttml: Add plugin that supports TTML subtitles 2016-11-01 20:46:46 +02:00