summaryrefslogtreecommitdiffstats
path: root/sub/osd.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 19:06:37 +0100
committerwm4 <wm4@nowhere>2013-12-21 20:50:13 +0100
commit3846fc758789711347c0b11f87736b27fc6210a0 (patch)
treee9b01445291326f0a026e0b002d78f1487d781b2 /sub/osd.h
parent92f9b514263d8becf670c19567826bd288595fe7 (diff)
downloadmpv-3846fc758789711347c0b11f87736b27fc6210a0.tar.bz2
mpv-3846fc758789711347c0b11f87736b27fc6210a0.tar.xz
sub/osd: mp_msg conversions
Diffstat (limited to 'sub/osd.h')
-rw-r--r--sub/osd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sub/osd.h b/sub/osd.h
index d98d111228..9714a06c18 100644
--- a/sub/osd.h
+++ b/sub/osd.h
@@ -154,6 +154,8 @@ struct osd_state {
void *highlight_priv;
struct MPOpts *opts;
+ struct mpv_global *global;
+ struct mp_log *log;
// Internal to sub.c
struct mp_draw_sub_cache *draw_cache;
@@ -202,7 +204,7 @@ struct osd_style_opts {
extern const struct m_sub_options osd_style_conf;
-struct osd_state *osd_create(struct MPOpts *opts);
+struct osd_state *osd_create(struct mpv_global *global);
void osd_set_text(struct osd_state *osd, const char *text);
void osd_set_sub(struct osd_state *osd, const char *text);
void osd_changed(struct osd_state *osd, int new_value);