summaryrefslogtreecommitdiffstats
path: root/ass_mp.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-18 15:33:36 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-18 15:33:36 +0200
commit7bb10e7ce2683da43345a60584c63479751366ff (patch)
tree2c978033cc1413aced2d64f8f28cd7ed8855ac8b /ass_mp.h
parent4284cf9ef050044619c773b195f0eb941f922e88 (diff)
downloadmpv-7bb10e7ce2683da43345a60584c63479751366ff.tar.bz2
mpv-7bb10e7ce2683da43345a60584c63479751366ff.tar.xz
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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ass_mp.h b/ass_mp.h
index 0694426898..2966f9527a 100644
--- a/ass_mp.h
+++ b/ass_mp.h
@@ -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);