summaryrefslogtreecommitdiffstats
path: root/sub/osd.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-16 20:03:56 +0100
committerwm4 <wm4@nowhere>2015-02-16 20:03:56 +0100
commit4c283d5f8dbfdd220015c9c4d661ec9b5a2ba6f7 (patch)
tree40b8db1c7f464c69f7a25f1120ff126abe58d607 /sub/osd.h
parent31ac0574ad910ee9256ad5d5b89c7a7d3b88761f (diff)
downloadmpv-4c283d5f8dbfdd220015c9c4d661ec9b5a2ba6f7.tar.bz2
mpv-4c283d5f8dbfdd220015c9c4d661ec9b5a2ba6f7.tar.xz
osd: make it possible to have different subtitle vs. OSD defaults
Until now, they used exactly the same defaults for the styling options. The defaults were shared, so it was impossible to have different defaults. Change this. This requires duplicating the full default struct, even for settings that are the same. The list of options is still shared, though.
Diffstat (limited to 'sub/osd.h')
-rw-r--r--sub/osd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sub/osd.h b/sub/osd.h
index 015bae29e5..6b7e284f33 100644
--- a/sub/osd.h
+++ b/sub/osd.h
@@ -137,6 +137,7 @@ struct osd_style_opts {
};
extern const struct m_sub_options osd_style_conf;
+extern const struct m_sub_options sub_style_conf;
struct osd_state;
struct osd_object;