From d22a3fdb09f8fed214fca9e829936ae5a3116f5b Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 20 Mar 2013 19:53:49 +0100 Subject: 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. --- sub/ass_mp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sub') 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); -- cgit v1.2.3