From af6081273f483844fc055bc8623ec07198462c2a Mon Sep 17 00:00:00 2001 From: SomeRGuy Date: Sun, 3 Oct 2021 17:54:38 +0300 Subject: 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 --- libavfilter/vf_subtitles.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavfilter/vf_subtitles.c') diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c index 989bd89334..82e140e986 100644 --- a/libavfilter/vf_subtitles.c +++ b/libavfilter/vf_subtitles.c @@ -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", -- cgit v1.2.3