mirror of https://github.com/mpv-player/mpv
sub: print messages before and after font setup
Helps on Windows, where fontconfig may take some time to finish. Print it with -v only, because that message would be annoying anywhere else.
This commit is contained in:
parent
5d5c5e31e1
commit
d22a3fdb09
|
@ -267,7 +267,9 @@ void mp_ass_configure_fonts(ASS_Renderer *priv, struct osd_style_opts *opts)
|
|||
default_font = NULL;
|
||||
}
|
||||
|
||||
mp_msg(MSGT_ASS, MSGL_V, "[ass] Setting up fonts...\n");
|
||||
ass_set_fonts(priv, default_font, opts->font, 1, config, 1);
|
||||
mp_msg(MSGT_ASS, MSGL_V, "[ass] Done.\n");
|
||||
|
||||
talloc_free(default_font);
|
||||
talloc_free(config);
|
||||
|
|
Loading…
Reference in New Issue