ffmpeg | branch: master | SomeRGuy <[email protected]> | 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 <[email protected]> > 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", _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
