[MPlayer-cvslog] r25641 - in trunk/libass: ass.h ass_library.c
Uoti Urpala
uoti.urpala at pp1.inet.fi
Tue Jan 8 00:38:33 CET 2008
On Mon, 2008-01-07 at 15:02 +0100, eugeni wrote:
> Copy font data to ass_library instead of referencing demuxer-owned memory.
>
> This fixes segfault when fonts are accessed after demuxer has been closed.
This will keep collecting fonts in memory, including multiple identical
copies of the same font(s) if you play the same file multiple times.
Moving the fonts from per-library-instance to per-renderer might not be
a good solution as it would likely duplicate them between tracks of the
same file. Maybe there should be a per-file level between those?
Another possibility could be to allow different fonts to accumulate but
try to detect and remove multiple instances of the same font.
More information about the MPlayer-cvslog
mailing list