summaryrefslogtreecommitdiffstats
path: root/mpvcore/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/options.c')
-rw-r--r--mpvcore/options.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mpvcore/options.c b/mpvcore/options.c
index 79d91c1b04..521b30e7d4 100644
--- a/mpvcore/options.c
+++ b/mpvcore/options.c
@@ -538,7 +538,8 @@ const m_option_t mp_opts[] = {
OPT_FLAG("embeddedfonts", use_embedded_fonts, 0),
OPT_STRINGLIST("ass-force-style", ass_force_style_list, 0),
OPT_STRING("ass-styles", ass_styles_file, 0),
- OPT_INTRANGE("ass-hinting", ass_hinting, 0, 0, 7),
+ OPT_CHOICE("ass-hinting", ass_hinting, 0,
+ ({"none", 0}, {"light", 1}, {"normal", 2}, {"native", 3})),
OPT_CHOICE("ass-style-override", ass_style_override, 0,
({"no", 0}, {"yes", 1})),
OPT_FLAG("osd-bar", osd_bar_visible, 0),