diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-01 19:47:39 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-01 19:47:39 +0000 |
commit | a12ab82a62ef3f3d9524ec185b909b775400961e (patch) | |
tree | a4332ff09b94a8dc76058e8134e5e62be3ec264d | |
parent | fdddf3562c89633f84e7e74dfd2044525878c39d (diff) |
Extract "application/x-font" attachments from matroska, in addition
to "application/x-truetype-font". They usually contain Type1 fonts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19627 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/demux_mkv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/demux_mkv.c b/libmpdemux/demux_mkv.c index c7233814ca..f1650234b9 100644 --- a/libmpdemux/demux_mkv.c +++ b/libmpdemux/demux_mkv.c @@ -1552,7 +1552,8 @@ demux_mkv_read_attachments (demuxer_t *demuxer) 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; |