[MPlayer-cvslog] r37311 - trunk/mplayer.c
al
subversion at mplayerhq.hu
Sun Oct 26 00:09:28 CEST 2014
Author: al
Date: Sun Oct 26 00:09:27 2014
New Revision: 37311
Log:
Pass application/vnd.ms-opentype attachments to libass
Make those font attachments work with at least demux_mkv.
Fix part of ticket 2207
Modified:
trunk/mplayer.c
Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c Sat Oct 25 17:27:09 2014 (r37310)
+++ trunk/mplayer.c Sun Oct 26 00:09:27 2014 (r37311)
@@ -3436,6 +3436,7 @@ goto_enable_cache:
if (extract_embedded_fonts &&
att->name && att->type && att->data && att->data_size &&
(strcmp(att->type, "application/x-truetype-font") == 0 ||
+ strcmp(att->type, "application/vnd.ms-opentype") == 0 ||
strcmp(att->type, "application/x-font") == 0))
ass_add_font(ass_library, att->name, att->data, att->data_size);
}
More information about the MPlayer-cvslog
mailing list