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:
Rafał Dzięgiel 2021-12-29 21:28:56 +01:00 committed by GStreamer Marge Bot
parent f0e6959bba
commit a2719d79ff

View file

@ -1558,7 +1558,8 @@ gst_ass_render_handle_tag_sample (GstAssRender * render, GstSample * sample)
};
static const gchar *extensions[] = {
".otf",
".ttf"
".ttf",
".ttc"
};
GstBuffer *buf;