summaryrefslogtreecommitdiffstats
path: root/core/cfg-mplayer.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-01-04 16:10:17 +0100
committerwm4 <wm4@nowhere>2013-01-05 14:11:56 +0100
commitca9c81b0d30d630a950a0d830fe8d98ab0131eef (patch)
tree3b64d4f54f0f1c2624662bc40504c3ca5b002959 /core/cfg-mplayer.h
parente65778ca6caa3b539877e43471481aa8c2387ebe (diff)
downloadmpv-ca9c81b0d30d630a950a0d830fe8d98ab0131eef.tar.bz2
mpv-ca9c81b0d30d630a950a0d830fe8d98ab0131eef.tar.xz
sub: add --sub-text-* options to unstyled text subtitles font
Before this commit, the --osd-* options (like --osd-font-size etc.) configured both the OSD and subtitle font. Make them separate, and add --sub-text-* options (like --sub-text-size etc.). Now --osd-* affects the OSD font only, and --sub-text-* unstyled text subtitles only.
Diffstat (limited to 'core/cfg-mplayer.h')
-rw-r--r--core/cfg-mplayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h
index 65ebdbb595..9121359b02 100644
--- a/core/cfg-mplayer.h
+++ b/core/cfg-mplayer.h
@@ -523,6 +523,9 @@ const m_option_t common_opts[] = {
OPT_GENERAL("osd", osd_style, M_OPT_PREFIXED,
.type = &m_option_type_subconfig_struct,
.priv = (void*)&osd_style_conf),
+ OPT_GENERAL("sub-text", sub_text_style, M_OPT_PREFIXED,
+ .type = &m_option_type_subconfig_struct,
+ .priv = (void*)&osd_style_conf),
{NULL, NULL, 0, 0, 0, 0, NULL}
};