summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-08 18:54:34 +0100
committerwm4 <wm4@nowhere>2020-03-08 19:38:10 +0100
commit6bf086fc15c3fc9ed81b0215161056ff6a36623c (patch)
treea608f94474f7f410c1511b4cfc0235ffee8aba99 /sub
parent62c1d7972449f8ed0f8d5db895367fab26ab56ff (diff)
downloadmpv-6bf086fc15c3fc9ed81b0215161056ff6a36623c.tar.bz2
mpv-6bf086fc15c3fc9ed81b0215161056ff6a36623c.tar.xz
sub: log libass version
Sometimes helpful. Would be even nicer if libass logged it themselves, including git hash, I guess.
Diffstat (limited to 'sub')
-rw-r--r--sub/ass_mp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sub/ass_mp.c b/sub/ass_mp.c
index d214375b61..172701495f 100644
--- a/sub/ass_mp.c
+++ b/sub/ass_mp.c
@@ -135,6 +135,8 @@ static void message_callback(int level, const char *format, va_list va, void *ct
ASS_Library *mp_ass_init(struct mpv_global *global, struct mp_log *log)
{
char *path = mp_find_config_file(NULL, global, "fonts");
+ mp_dbg(log, "ASS library version: 0x%x (runtime 0x%x)\n",
+ (unsigned)LIBASS_VERSION, ass_library_version());
ASS_Library *priv = ass_library_init();
if (!priv)
abort();