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:
Eric Appleman 2010-02-02 08:53:53 +01:00 committed by Sebastian Dröge
parent 584ac24ba0
commit febb13d26f

View file

@ -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);