mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
assrender: Don't scan current working directory recursively for fonts
This can take a very long time and also libass will overwrite files if there's an embedded font with the same filename as an existing file. Fixes bug #575878 and #608706.
This commit is contained in:
parent
584ac24ba0
commit
febb13d26f
1 changed files with 0 additions and 1 deletions
|
@ -238,7 +238,6 @@ gst_ass_render_init (GstAssRender * render, GstAssRenderClass * gclass)
|
|||
#if defined(LIBASS_VERSION) && LIBASS_VERSION >= 0x00907000
|
||||
ass_set_message_cb (render->ass_library, _libass_message_cb, render);
|
||||
#endif
|
||||
ass_set_fonts_dir (render->ass_library, "./");
|
||||
ass_set_extract_fonts (render->ass_library, 1);
|
||||
|
||||
render->ass_renderer = ass_renderer_init (render->ass_library);
|
||||
|
|
Loading…
Reference in a new issue