diff options
author | wm4 <wm4@nowhere> | 2015-02-16 20:03:56 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-16 20:03:56 +0100 |
commit | 4c283d5f8dbfdd220015c9c4d661ec9b5a2ba6f7 (patch) | |
tree | 40b8db1c7f464c69f7a25f1120ff126abe58d607 /options | |
parent | 31ac0574ad910ee9256ad5d5b89c7a7d3b88761f (diff) | |
download | mpv-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 'options')
-rw-r--r-- | options/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ------------------------ |