diff options
author | 2011-01-18 15:33:36 +0200 | |
---|---|---|
committer | 2011-01-18 15:33:36 +0200 | |
commit | 7bb10e7ce2683da43345a60584c63479751366ff (patch) | |
tree | 2c978033cc1413aced2d64f8f28cd7ed8855ac8b /ass_mp.h | |
parent | 4284cf9ef050044619c773b195f0eb941f922e88 (diff) |
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.
Diffstat (limited to 'ass_mp.h')
-rw-r--r-- | ass_mp.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -44,7 +44,6 @@ extern char *ass_styles_file; extern int ass_hinting; ASS_Track *ass_default_track(ASS_Library *library); -int ass_process_subtitle(ASS_Track *track, subtitle *sub); ASS_Track *ass_read_subdata(ASS_Library *library, sub_data *subdata, double fps); ASS_Track *ass_read_stream(ASS_Library *library, const char *fname, char *charset); |