mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
assrender: Support RFC8081 mime types
Old "application/*" are now as per RFC8081 deprecated in favor of new "font/*" mime types. Some new encoders are already using the updated mime types. We need to also add them to the support list in order for assrender to correctly identify them as fonts. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1481>
This commit is contained in:
parent
a2719d79ff
commit
8889b6351d
1 changed files with 5 additions and 1 deletions
|
@ -1554,7 +1554,11 @@ gst_ass_render_handle_tag_sample (GstAssRender * render, GstSample * sample)
|
|||
"application/x-font-ttf",
|
||||
"application/x-font-otf",
|
||||
"application/x-truetype-font",
|
||||
"application/vnd.ms-opentype"
|
||||
"application/vnd.ms-opentype",
|
||||
"font/ttf",
|
||||
"font/otf",
|
||||
"font/sfnt",
|
||||
"font/collection"
|
||||
};
|
||||
static const gchar *extensions[] = {
|
||||
".otf",
|
||||
|
|
Loading…
Reference in a new issue