diff options
Diffstat (limited to 'sub')
-rw-r--r-- | sub/ass_mp.c | 1 | ||||
-rw-r--r-- | sub/osd.c | 1 | ||||
-rw-r--r-- | sub/osd.h | 1 |
3 files changed, 3 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. @@ -59,6 +59,7 @@ static const m_option_t style_opts[] = { OPT_CHOICE("align-y", align_y, 0, ({"top", -1}, {"center", 0}, {"bottom", +1})), OPT_FLOATRANGE("blur", blur, 0, 0, 20), + OPT_FLAG("bold", bold, 0), {0} }; @@ -135,6 +135,7 @@ struct osd_style_opts { int align_x; int align_y; float blur; + int bold; }; extern const struct m_sub_options osd_style_conf; |