From 1e4f08c50cc5e3abb61c95903a270c8e281d2e5b Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 25 Sep 2013 21:40:35 +0200 Subject: options: make --ass-hinting a choice, instead of using magic numbers options.c still doesn't use the constants defined by the libass headers, but it's still better than exposing those to the user directly. --- sub/ass_mp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sub') diff --git a/sub/ass_mp.c b/sub/ass_mp.c index 01b4ebff2f..7af3926058 100644 --- a/sub/ass_mp.c +++ b/sub/ass_mp.c @@ -132,7 +132,7 @@ void mp_ass_configure(ASS_Renderer *priv, struct MPOpts *opts, #endif set_line_spacing = opts->ass_line_spacing; set_font_scale = opts->sub_scale; - set_hinting = opts->ass_hinting & 3; // +4 was for no hinting if scaled + set_hinting = opts->ass_hinting; } ass_set_use_margins(priv, set_use_margins); -- cgit v1.2.3