summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-15 19:43:43 +0100
committerwm4 <wm4@nowhere>2014-11-15 19:43:43 +0100
commit2125e49422137fa3164b37f7d64e2df68f07da9b (patch)
treee8b58f58e0c32a834ce1b959dd89bbc97a69292d /README.md
parenta6694d27889b4b65ab6d05641396724ae9696f77 (diff)
downloadmpv-2125e49422137fa3164b37f7d64e2df68f07da9b.tar.bz2
mpv-2125e49422137fa3164b37f7d64e2df68f07da9b.tar.xz
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.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions