[vlc-devel] [PATCH] libass: match font attachments based on extension

Grigori Goronzy greg at chown.ath.cx
Mon Aug 22 01:54:46 CEST 2011


Hi,

I have some Matroska files which have TrueType font collections (.ttc)
muxed as attachments. Usually, they aren't muxed with the TrueType MIME
type, so VLC doesn't use them. It looks like they do not have a
dedicated MIME type. Anyway, I think VLC should be able to use these
fonts, so I added some code to match not only against the MIME type, but
also against the file extension. MPlayer and gstreamer have similar
heuristics.

Grigori
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libass-match-font-attachments-based-on-extension.patch
Type: text/x-diff
Size: 1446 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110822/97f111fb/attachment.patch>


More information about the vlc-devel mailing list