summaryrefslogtreecommitdiffstats
path: root/mpvcore
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore')
-rw-r--r--mpvcore/options.c3
-rw-r--r--mpvcore/options.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/mpvcore/options.c b/mpvcore/options.c
index 521b30e7d4..9200c1dcf8 100644
--- a/mpvcore/options.c
+++ b/mpvcore/options.c
@@ -540,6 +540,8 @@ const m_option_t mp_opts[] = {
OPT_STRING("ass-styles", ass_styles_file, 0),
OPT_CHOICE("ass-hinting", ass_hinting, 0,
({"none", 0}, {"light", 1}, {"normal", 2}, {"native", 3})),
+ OPT_CHOICE("ass-shaper", ass_shaper, 0,
+ ({"simple", 0}, {"complex", 1})),
OPT_CHOICE("ass-style-override", ass_style_override, 0,
({"no", 0}, {"yes", 1})),
OPT_FLAG("osd-bar", osd_bar_visible, 0),
@@ -829,6 +831,7 @@ const struct MPOpts mp_default_opts = {
.ass_vsfilter_color_compat = 1,
.ass_vsfilter_blur_compat = 1,
.ass_style_override = 1,
+ .ass_shaper = 1,
.use_embedded_fonts = 1,
.suboverlap_enabled = 0,
#ifdef CONFIG_ENCA
diff --git a/mpvcore/options.h b/mpvcore/options.h
index b1058fca37..7a30c24b34 100644
--- a/mpvcore/options.h
+++ b/mpvcore/options.h
@@ -202,6 +202,7 @@ typedef struct MPOpts {
char *ass_styles_file;
int ass_style_override;
int ass_hinting;
+ int ass_shaper;
int hwdec_api;
char *hwdec_codecs;