summaryrefslogtreecommitdiffstats
path: root/ta
diff options
context:
space:
mode:
authorDan Elkouby <streetwalkermc@gmail.com>2019-11-02 15:24:56 +0200
committerwm4 <1387750+wm4@users.noreply.github.com>2019-11-02 14:42:36 +0100
commitdfc060f0991255858d8286c3e77196b8762daf48 (patch)
treee500a462acc0bbcfeaca90eaaca7ea6c73f2134e /ta
parent985a1cde5ae34792aeca2aaf9f6787c4ca58e3b8 (diff)
downloadmpv-dfc060f0991255858d8286c3e77196b8762daf48.tar.bz2
mpv-dfc060f0991255858d8286c3e77196b8762daf48.tar.xz
ass_mp: reset packer when allocation fails
Sometimes the atlas can get so large that it exceeds the maximum allowed size for an mp_image. Since the atlas will never shrink naturally, this breaks subtitles entirely until mpv is restarted. Reset the packer so that subtitles can rendered properly once the atlas fits again. This is a partial workaround for #6286.
Diffstat (limited to 'ta')
0 files changed, 0 insertions, 0 deletions