summaryrefslogtreecommitdiffstats
path: root/sub/osd.h
diff options
context:
space:
mode:
authorFrédéric Brière <fbriere@fbriere.net>2022-02-10 21:36:34 -0500
committerDudemanguy <random342@airmail.cc>2023-03-01 02:09:46 +0000
commit779d4f99a74cce2089f0bf7dc5ed10c7a7ff00a3 (patch)
tree15a744a8531e7151a33d0cd3681f54eb41444940 /sub/osd.h
parent022790a2b49e4d21cb803842cb54958cca9c732e (diff)
downloadmpv-779d4f99a74cce2089f0bf7dc5ed10c7a7ff00a3.tar.bz2
mpv-779d4f99a74cce2089f0bf7dc5ed10c7a7ff00a3.tar.xz
sub: add --sub-fonts-dir and --osd-fonts-dir options
These options make it possible to specify the directory that will be passed to ass_set_fonts_dir(), akin to VLC's `--ssa-fontsdir` and FFmpeg's `fontsdir`. Fixes #8338
Diffstat (limited to 'sub/osd.h')
-rw-r--r--sub/osd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sub/osd.h b/sub/osd.h
index 9b87dcc58a..39a88ea240 100644
--- a/sub/osd.h
+++ b/sub/osd.h
@@ -157,6 +157,7 @@ struct osd_style_opts {
bool italic;
int justify;
int font_provider;
+ char *fonts_dir;
};
extern const struct m_sub_options osd_style_conf;