diff options
author | wm4 <wm4@nowhere> | 2013-09-25 21:40:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-25 21:40:35 +0200 |
commit | 1e4f08c50cc5e3abb61c95903a270c8e281d2e5b (patch) | |
tree | c2fec85d465af2eb4197c8e117708afe45304b60 /sub | |
parent | 4e6751609ee1798539c0338ac930bdb4b1e80242 (diff) | |
download | mpv-1e4f08c50cc5e3abb61c95903a270c8e281d2e5b.tar.bz2 mpv-1e4f08c50cc5e3abb61c95903a270c8e281d2e5b.tar.xz |
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.
Diffstat (limited to 'sub')
-rw-r--r-- | sub/ass_mp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |