summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/mplayer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/mplayer.c b/core/mplayer.c
index 8e8d12470e..0fa93316a6 100644
--- a/core/mplayer.c
+++ b/core/mplayer.c
@@ -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
}