[vlc-devel] vlc: svn commit r22484 (jpsaman)

Subversion daemon svn at videolan.org
Mon Oct 8 22:46:23 CEST 2007


r22484 | jpsaman | 2007-10-08 22:46:23 +0200 (Mon, 08 Oct 2007) | 8 lines
Changed paths:
   M /trunk/modules/misc/freetype.c

Run FontBuilder thread after Freetype has been initialized and no error paths are can be taken. This should solve the crash reported by several people with the video title (or meta-name) appearing at start of the movie.

The freetype module starts another thread called FontBuilder and depending on timing this creates a crash or works allright. The crash is triggered by the font not being found. This patch tries to load the font first before the FontBuilder thread is started.

I was unable to reproduce the crash with the patch applied. Without the patch the crash is reproducable.

As discussed on the mailinglist the FontBuilder thread doesn't depend on the freetype initialisation and rearanging the order should do no harm.

 > http://trac.videolan.org/vlc/changeset/22484



More information about the vlc-devel mailing list