avfilter/vf_subtitles: add additional font mime types

Since mkvmerge 19 has fonts types from RFC 8081 and mkvmerge 58 on windows use new file/magic library.

Signed-off-by: SomeRGuy <wwakabot@gmail.com>
This commit is contained in:
SomeRGuy 2021-10-03 17:54:38 +03:00 committed by Paul B Mahol
parent f2967490f1
commit af6081273f
1 changed files with 7 additions and 0 deletions

View File

@ -275,6 +275,13 @@ static const AVOption subtitles_options[] = {
};
static const char * const font_mimetypes[] = {
"font/ttf",
"font/otf",
"font/sfnt",
"font/woff",
"font/woff2",
"application/font-sfnt",
"application/font-woff",
"application/x-truetype-font",
"application/vnd.ms-opentype",
"application/x-font-ttf",