1
0
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:
wm4 2016-09-20 15:22:26 +02:00
parent 6b5e5b6843
commit fe872f5688

View File

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