From 4c283d5f8dbfdd220015c9c4d661ec9b5a2ba6f7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 16 Feb 2015 20:03:56 +0100 Subject: 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. --- options/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options') diff --git a/options/options.c b/options/options.c index a0674b6185..bba1f28a00 100644 --- a/options/options.c +++ b/options/options.c @@ -360,7 +360,7 @@ const m_option_t mp_opts[] = { OPT_FLOATRANGE("osd-bar-h", osd_bar_h, 0, 0.1, 50), OPT_SUBSTRUCT("osd", osd_style, osd_style_conf, 0), OPT_FLAG("use-text-osd", use_text_osd, CONF_GLOBAL), - OPT_SUBSTRUCT("sub-text", sub_text_style, osd_style_conf, 0), + OPT_SUBSTRUCT("sub-text", sub_text_style, sub_style_conf, 0), OPT_FLAG("sub-clear-on-seek", sub_clear_on_seek, 0), //---------------------- libao/libvo options ------------------------ -- cgit v1.2.3