From 6bf086fc15c3fc9ed81b0215161056ff6a36623c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 8 Mar 2020 18:54:34 +0100 Subject: sub: log libass version Sometimes helpful. Would be even nicer if libass logged it themselves, including git hash, I guess. --- 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 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(); -- cgit v1.2.3