diff options
author | wm4 <wm4@nowhere> | 2013-03-20 19:53:49 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-03-20 19:55:11 +0100 |
commit | d22a3fdb09f8fed214fca9e829936ae5a3116f5b (patch) | |
tree | 6e16f19fd152d95312be234642c6fe4984213a36 /sub | |
parent | 5d5c5e31e1daa5a359584cf08b3e4544e9599715 (diff) | |
download | mpv-d22a3fdb09f8fed214fca9e829936ae5a3116f5b.tar.bz2 mpv-d22a3fdb09f8fed214fca9e829936ae5a3116f5b.tar.xz |
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.
Diffstat (limited to 'sub')
-rw-r--r-- | sub/ass_mp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sub/ass_mp.c b/sub/ass_mp.c index 2312eaeff5..35883da84b 100644 --- a/sub/ass_mp.c +++ b/sub/ass_mp.c @@ -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); |