summaryrefslogtreecommitdiff
path: root/libavfilter/vf_subtitles.c
diff options
context:
space:
mode:
authorSomeRGuy <wwakabot@gmail.com>2021-10-03 17:54:38 +0300
committerPaul B Mahol <onemda@gmail.com>2022-03-25 22:46:35 +0100
commitaf6081273f483844fc055bc8623ec07198462c2a (patch)
tree5d9102e229d4804ad49dfeb3d0daaf9b98a604c8 /libavfilter/vf_subtitles.c
parentf2967490f16393cc9c3c1a74db1672ada129e06f (diff)
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>
Diffstat (limited to 'libavfilter/vf_subtitles.c')
-rw-r--r--libavfilter/vf_subtitles.c7
1 files changed, 7 insertions, 0 deletions
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",