mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 10:32:15 +00:00
sub: use correct fallback font for subtitles
Accidentally still used the OSD font.
This commit is contained in:
parent
fe8d3e70b2
commit
5b56864ff0
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user