mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 12:02:39 +00:00
player: add two more font mimetypes recognized by Haali
The Haali Matroska splitter is basically the reference implementation for this crap, and it knows only: application/vnd.ms-opentype application/x-font-ttf application/x-truetype-font Two of them were missing in our code. One of them, "application/x-font", is probably plain incorrect, but I can't really tell. Also see: http://www.cccp-project.net/beta/test_files/fontsample.mkv
This commit is contained in:
parent
6878cf2832
commit
15f38b89ee
@ -845,7 +845,9 @@ static void open_subtitles_from_resolve(struct MPContext *mpctx)
|
||||
|
||||
static const char *font_mimetypes[] = {
|
||||
"application/x-truetype-font",
|
||||
"application/x-font",
|
||||
"application/vnd.ms-opentype",
|
||||
"application/x-font-ttf",
|
||||
"application/x-font", // probably incorrect
|
||||
NULL
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user