changeset 19621:a0105ea61f2d

Extract "application/x-font" attachments from matroska, in addition to "application/x-truetype-font". They usually contain Type1 fonts.
author eugeni
date Fri, 01 Sep 2006 19:47:39 +0000
parents 9e2fd669a6bd
children 31dbf5ebd7bb
files libmpdemux/demux_mkv.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c	Fri Sep 01 18:51:41 2006 +0000
+++ b/libmpdemux/demux_mkv.c	Fri Sep 01 19:47:39 2006 +0000
@@ -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;