diff options
author | Rafał Dzięgiel <rafostar.github@gmail.com> | 2021-12-29 21:28:56 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2022-01-17 23:31:33 +0000 |
commit | 8a7c698ca1a6494f2a8b46543ba1b497e1b7778f (patch) | |
tree | 98110d769aba561baa007e6ad593acdf228be7c3 | |
parent | b877c72ab3beedbf2af0f4535d4d9652b398d377 (diff) | |
download | gstreamer-plugins-bad-8a7c698ca1a6494f2a8b46543ba1b497e1b7778f.tar.gz |
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/gst-plugins-bad/-/merge_requests/2566>
-rw-r--r-- | ext/assrender/gstassrender.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/assrender/gstassrender.c b/ext/assrender/gstassrender.c index e6d31985b..9b7d522c5 100644 --- a/ext/assrender/gstassrender.c +++ b/ext/assrender/gstassrender.c @@ -1550,7 +1550,8 @@ gst_ass_render_handle_tag_sample (GstAssRender * render, GstSample * sample) }; static const gchar *extensions[] = { ".otf", - ".ttf" + ".ttf", + ".ttc" }; GstBuffer *buf; |