[MPlayer-cvslog] r19627 - trunk/libmpdemux/demux_mkv.c

eugeni subversion at mplayerhq.hu
Fri Sep 1 21:47:40 CEST 2006


Author: eugeni
Date: Fri Sep  1 21:47:39 2006
New Revision: 19627

Modified:
   trunk/libmpdemux/demux_mkv.c

Log:
Extract "application/x-font" attachments from matroska, in addition
to "application/x-truetype-font". They usually contain Type1 fonts.


Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c	(original)
+++ trunk/libmpdemux/demux_mkv.c	Fri Sep  1 21:47:39 2006
@@ -1552,7 +1552,8 @@
                      name, mime, data_size);
 #ifdef USE_ASS
               if (extract_embedded_fonts && name && data && data_size &&
-                  mime && (strcmp(mime, "application/x-truetype-font") == 0))
+                  mime && (strcmp(mime, "application/x-truetype-font") == 0 ||
+                  strcmp(mime, "application/x-font") == 0))
                 ass_process_font(name, data, data_size);
 #endif
               break;



More information about the MPlayer-cvslog mailing list