summaryrefslogtreecommitdiffstats
path: root/sub/ass_mp.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-01 22:58:12 +0200
committerwm4 <wm4@nowhere>2015-04-01 22:58:12 +0200
commitf9db94ab71ccaf1e5639f28e69f07ccc164e130f (patch)
tree3f07472f7e38d81cce46464edfefd9d9952b02d3 /sub/ass_mp.c
parent9e98702493068b28cbbbed56ff6b91e60c5e3b46 (diff)
downloadmpv-f9db94ab71ccaf1e5639f28e69f07ccc164e130f.tar.bz2
mpv-f9db94ab71ccaf1e5639f28e69f07ccc164e130f.tar.xz
sub: add --sub-text-bold option
This was basically requested.
Diffstat (limited to 'sub/ass_mp.c')
-rw-r--r--sub/ass_mp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sub/ass_mp.c b/sub/ass_mp.c
index a02ff8d632..1570aaed0c 100644
--- a/sub/ass_mp.c
+++ b/sub/ass_mp.c
@@ -74,6 +74,7 @@ void mp_ass_set_style(ASS_Style *style, double res_y,
style->ScaleY = 1.;
style->Alignment = 1 + (opts->align_x + 1) + (opts->align_y + 2) % 3 * 4;
style->Blur = opts->blur;
+ style->Bold = opts->bold;
}
// Add default styles, if the track does not have any styles yet.