From 72fbd846db3bf446b3fa00eba4f0197e6214f942 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 25 Sep 2013 21:42:29 +0200 Subject: options: allow selecting the libass shaper I'm using the word "languages" instead of "scripts" in the manpage, but I think that's easier to understand with a smaller amount of descriptions. --- sub/ass_mp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sub') diff --git a/sub/ass_mp.c b/sub/ass_mp.c index 7af3926058..c46daf415e 100644 --- a/sub/ass_mp.c +++ b/sub/ass_mp.c @@ -138,6 +138,9 @@ void mp_ass_configure(ASS_Renderer *priv, struct MPOpts *opts, ass_set_use_margins(priv, set_use_margins); #if LIBASS_VERSION >= 0x01010000 ass_set_line_position(priv, set_sub_pos); +#endif +#if LIBASS_VERSION >= 0x01000000 + ass_set_shaper(priv, opts->ass_shaper); #endif ass_set_font_scale(priv, set_font_scale); ass_set_hinting(priv, set_hinting); -- cgit v1.2.3