Files
mpv/player
wm4 2125e49422 sub: workaround braindead libass API
libass won't use embedded fonts, unless ass_set_fonts() (called by
mp_ass_configure_fonts()) is called. However, we call this function when
the ASS_Renderer is initialized, which is long before the .ass file is
actually loaded. (I'm not sure why it tries to keep 1 ASS_Renderer, but
it always did this.)

Fix by calling mp_ass_configure_fonts() after loading them. This also
means this function will be called multiple times - hopefully this is
harmless (it will reinit fontconfig every time, though).

While we're at it, also initialize the ASS_Renderer lazily.

Fixes #1244.
2014-11-15 19:43:43 +01:00
..
2014-11-02 17:29:41 +01:00
2014-11-07 16:21:03 +01:00
2014-11-15 19:43:43 +01:00
2014-10-26 01:52:31 +02:00
2014-11-10 18:11:33 +01:00
2013-12-17 00:53:22 +01:00
2014-11-15 19:43:43 +01:00