summaryrefslogtreecommitdiffstats
path: root/sub/ass_mp.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-03 22:14:56 +0200
committerwm4 <wm4@nowhere>2013-06-03 22:40:07 +0200
commit8c63b318dc106f43d9ab17250452216bab485587 (patch)
tree0c4480c7c355fd0bdb371657718f62e16b1c5fe2 /sub/ass_mp.h
parent9f4261de65c18d3a34e70c9f969966ca85c80a8d (diff)
downloadmpv-8c63b318dc106f43d9ab17250452216bab485587.tar.bz2
mpv-8c63b318dc106f43d9ab17250452216bab485587.tar.xz
ass_mp: provide function to add default styles
Diffstat (limited to 'sub/ass_mp.h')
-rw-r--r--sub/ass_mp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sub/ass_mp.h b/sub/ass_mp.h
index 4b31a832a4..b6ec2808c0 100644
--- a/sub/ass_mp.h
+++ b/sub/ass_mp.h
@@ -44,7 +44,9 @@ struct MPOpts;
struct mp_osd_res;
struct osd_style_opts;
-void mp_ass_set_style(ASS_Style *style, struct osd_style_opts *opts);
+void mp_ass_set_style(ASS_Style *style, int res_y, struct osd_style_opts *opts);
+
+void mp_ass_add_default_styles(ASS_Track *track, struct MPOpts *opts);
ASS_Track *mp_ass_default_track(ASS_Library *library, struct MPOpts *opts);
ASS_Track *mp_ass_read_stream(ASS_Library *library, const char *fname,