sub: log libass version

Sometimes helpful. Would be even nicer if libass logged it themselves,
including git hash, I guess.
This commit is contained in:
wm4 2020-03-08 18:54:34 +01:00
parent 62c1d79724
commit 6bf086fc15
1 changed files with 2 additions and 0 deletions

View File

@ -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();