[FFmpeg-cvslog] avfilter/vf_subtitles: add additional font mime types
SomeRGuy
git at videolan.org
Fri Mar 25 23:45:20 EET 2022
ffmpeg | branch: master | SomeRGuy <wwakabot at gmail.com> | Sun Oct 3 17:54:38 2021 +0300| [af6081273f483844fc055bc8623ec07198462c2a] | committer: Paul B Mahol
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 at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=af6081273f483844fc055bc8623ec07198462c2a
---
libavfilter/vf_subtitles.c | 7 +++++++
1 file changed, 7 insertions(+)
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",
More information about the ffmpeg-cvslog
mailing list