summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/cfg-mplayer.h1
-rw-r--r--core/options.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h
index ded7245f83..23b937f91a 100644
--- a/core/cfg-mplayer.h
+++ b/core/cfg-mplayer.h
@@ -507,6 +507,7 @@ const m_option_t common_opts[] = {
M_CHOICES(({"exact", 0}, {"fuzzy", 1}, {"all", 2}))},
{"sub-pos", &sub_pos, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
OPT_FLOATRANGE("sub-gauss", sub_gauss, 0, 0.0, 3.0),
+ OPT_MAKE_FLAGS("sub-gray", sub_gray, 0),
OPT_MAKE_FLAGS("ass", ass_enabled, 0),
OPT_FLOATRANGE("sub-scale", sub_scale, 0, 0, 100),
OPT_FLOATRANGE("ass-line-spacing", ass_line_spacing, 0, -1000, 1000),
diff --git a/core/options.h b/core/options.h
index 58d6a64e70..47f4593b9b 100644
--- a/core/options.h
+++ b/core/options.h
@@ -114,6 +114,7 @@ typedef struct MPOpts {
struct osd_style_opts *osd_style;
float sub_scale;
float sub_gauss;
+ int sub_gray;
int ass_enabled;
float ass_line_spacing;
int ass_top_margin;