mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
fdddf3562c
commit
a12ab82a62
|
@ -1552,7 +1552,8 @@ demux_mkv_read_attachments (demuxer_t *demuxer)
|
||||||
name, mime, data_size);
|
name, mime, data_size);
|
||||||
#ifdef USE_ASS
|
#ifdef USE_ASS
|
||||||
if (extract_embedded_fonts && name && data && data_size &&
|
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);
|
ass_process_font(name, data, data_size);
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue