mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
player: add option not to use OSD/fontconfig
Makeshift-solution for working around certain fontconfig issues. With --use-text-osd=no, libass and fontconfig won't be initialized, and fontconfig won't block everything with scanning for fonts.
This commit is contained in:
@@ -471,6 +471,9 @@ static void update_object(struct osd_state *osd, struct osd_object *obj)
|
||||
void osd_object_get_bitmaps(struct osd_state *osd, struct osd_object *obj,
|
||||
struct sub_bitmaps *out_imgs)
|
||||
{
|
||||
if (!osd->opts->use_text_osd)
|
||||
return;
|
||||
|
||||
if (obj->force_redraw)
|
||||
update_object(osd, obj);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user