mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 09:32:40 +00:00
osd: fix OSD redrawing after removing external overlays
This commit is contained in:
parent
6b5e5b6843
commit
fe872f5688
@ -490,6 +490,8 @@ void osd_set_external(struct osd_state *osd, void *id, int res_x, int res_y,
|
||||
int index = entry - &obj->externals[0];
|
||||
destroy_external(entry);
|
||||
MP_TARRAY_REMOVE_AT(obj->externals, obj->num_externals, index);
|
||||
obj->changed = true;
|
||||
osd->want_redraw_notification = true;
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user