mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
assrender: Add "application/vnd.ms-opentype" mimetype detection
The "application/vnd.ms-opentype" mimetype is commonly used in many fonts attached in the matroska videos. Assrender should treat it as compatible without the need of parsing the file extension. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1207>
This commit is contained in:
parent
77a415c460
commit
cfbd820153
1 changed files with 2 additions and 1 deletions
|
@ -1553,7 +1553,8 @@ gst_ass_render_handle_tag_sample (GstAssRender * render, GstSample * sample)
|
|||
static const gchar *mimetypes[] = {
|
||||
"application/x-font-ttf",
|
||||
"application/x-font-otf",
|
||||
"application/x-truetype-font"
|
||||
"application/x-truetype-font",
|
||||
"application/vnd.ms-opentype"
|
||||
};
|
||||
static const gchar *extensions[] = {
|
||||
".otf",
|
||||
|
|
Loading…
Reference in a new issue