summaryrefslogtreecommitdiffstats
path: root/sub/ass_mp.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-26 17:49:54 +0200
committerwm4 <wm4@nowhere>2013-09-26 17:49:54 +0200
commit696a8c5609ca1bf260176cb9c43f483463a72c97 (patch)
tree5c344a01b5ff62ea7833806469db7e3b1f12f194 /sub/ass_mp.h
parent5a837ced0ba37b4399ecdf9500637a628b599f0d (diff)
downloadmpv-696a8c5609ca1bf260176cb9c43f483463a72c97.tar.bz2
mpv-696a8c5609ca1bf260176cb9c43f483463a72c97.tar.xz
osd_libass: add "Default" dummy style
This is pretty much a hack for the OSC. It will allow it to rely on a somewhat predictable style, instead of having to overwrite all user OSD settings manually with override tags.
Diffstat (limited to 'sub/ass_mp.h')
-rw-r--r--sub/ass_mp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sub/ass_mp.h b/sub/ass_mp.h
index c0fba934eb..52c793c9b7 100644
--- a/sub/ass_mp.h
+++ b/sub/ass_mp.h
@@ -44,7 +44,8 @@ struct MPOpts;
struct mp_osd_res;
struct osd_style_opts;
-void mp_ass_set_style(ASS_Style *style, int res_y, struct osd_style_opts *opts);
+void mp_ass_set_style(ASS_Style *style, int res_y,
+ const struct osd_style_opts *opts);
void mp_ass_add_default_styles(ASS_Track *track, struct MPOpts *opts);