summaryrefslogtreecommitdiffstats
path: root/LICENSE
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-13 23:11:54 +0200
committerwm4 <wm4@nowhere>2015-07-13 23:11:54 +0200
commit87718384082a88a660f66d2de30421a93bf67293 (patch)
tree0ccede4e64abf36e6b06b973567281f91137993d /LICENSE
parent57efe9089cf51587d24686b98b319812e4c9ce23 (diff)
downloadmpv-87718384082a88a660f66d2de30421a93bf67293.tar.bz2
mpv-87718384082a88a660f66d2de30421a93bf67293.tar.xz
sub: call ass_set_fonts() only once
ass_set_fonts() is called by mp_ass_configure_fonts(), which was called every time a subtitle renderer was initialized. I'm not sure why this was done - I can't find a good reason, and most likely there's none. However, it did cause problems with an experimental libass branch. It crashed some time after switching to a second subtitle track. The branch will hopefully be merged soon, and it seems unlikely that libass wants to fix its problems with its ridiculous API (rather it should normalize its API so that the issue doesn't happen in the first place), so just apply this change. It makes our code simpler too.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions