sd_ass: remove subreader use, support plaintext markup
commit7bb10e7ce2683da43345a60584c63479751366ff
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 18 Jan 2011 13:33:36 +0000 (18 15:33 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 18 Jan 2011 13:33:36 +0000 (18 15:33 +0200)
tree2c978033cc1413aced2d64f8f28cd7ed8855ac8b
parent4284cf9ef050044619c773b195f0eb941f922e88
sd_ass: remove subreader use, support plaintext markup

Originally, when rendering plaintext subs with libass, the subtitles
were first converted to the "struct subtitle" form with sub_add_text()
and then from that to libass events. Change sd_ass to convert the
subtitles directly to libass events without using the old sub
machinery. The new conversion at least fixes some timing issues. Also
use the markup support added in the previous commit, so that
HTML-style markup is also supported in "plaintext" subs rendered with
libass.
ass_mp.c
ass_mp.h
sub/sd_ass.c