sub: use correct fallback font for subtitles

Accidentally still used the OSD font.
This commit is contained in:
wm4 2013-01-06 16:06:34 +01:00
parent fe8d3e70b2
commit 5b56864ff0
1 changed files with 2 additions and 1 deletions

View File

@ -3798,7 +3798,8 @@ static void add_subtitle_fonts_from_sources(struct MPContext *mpctx)
assert(!mpctx->osd->ass_renderer);
mpctx->osd->ass_renderer = ass_renderer_init(mpctx->osd->ass_library);
if (mpctx->osd->ass_renderer)
mp_ass_configure_fonts(mpctx->osd->ass_renderer, mpctx->opts.osd_style);
mp_ass_configure_fonts(mpctx->osd->ass_renderer,
mpctx->opts.sub_text_style);
#endif
}