mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
assrender: Handle ".ttc" attachment extension
TTC stands for "TrueType Collection" file. We can pass it into libass as any other attachment. Add it to the supported extensions list, so the fonts it contains will be used. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1481>
This commit is contained in:
parent
f0e6959bba
commit
a2719d79ff
1 changed files with 2 additions and 1 deletions
|
@ -1558,7 +1558,8 @@ gst_ass_render_handle_tag_sample (GstAssRender * render, GstSample * sample)
|
|||
};
|
||||
static const gchar *extensions[] = {
|
||||
".otf",
|
||||
".ttf"
|
||||
".ttf",
|
||||
".ttc"
|
||||
};
|
||||
|
||||
GstBuffer *buf;
|
||||
|
|
Loading…
Reference in a new issue