You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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:
@@ -275,6 +275,13 @@ static const AVOption subtitles_options[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const char * const font_mimetypes[] = {
|
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/x-truetype-font",
|
||||||
"application/vnd.ms-opentype",
|
"application/vnd.ms-opentype",
|
||||||
"application/x-font-ttf",
|
"application/x-font-ttf",
|
||||||
|
Reference in New Issue
Block a user