aboutsummaryrefslogtreecommitdiffhomepage
path: root/sub/sd_ass.c
Commit message (Collapse)AuthorAge
...
* sd_ass: remove subreader use, support plaintext markupGravatar Uoti Urpala2011-01-18
| | | | | | | | | | | 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.
* subtitles: add framework for subtitle decodersGravatar Uoti Urpala2011-01-18
Add a framework for subtitle decoder modules that work more like audio/video decoders do, and change libass rendering of demuxed subtitles to use the new framework. The old subtitle code is messy, with details specific to handling particular subtitle types spread over high-level code. This should make it easier to clean things up and fix some bugs/limitations.