aboutsummaryrefslogtreecommitdiffhomepage
path: root/sub
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-09-20 15:22:26 +0200
committerGravatar wm4 <wm4@nowhere>2016-09-20 15:44:06 +0200
commitfe872f56884a3a5c506d49d9601713d0e6de1973 (patch)
treec0eeee05ca1d87dfc9c4efe9b9bdddfeb22f6a23 /sub
parent6b5e5b68431288a95dfd03af066d75281cd82a2b (diff)
osd: fix OSD redrawing after removing external overlays
Diffstat (limited to 'sub')
-rw-r--r--sub/osd_libass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sub/osd_libass.c b/sub/osd_libass.c
index 49edafbcf5..454d0387a4 100644
--- a/sub/osd_libass.c
+++ b/sub/osd_libass.c
@@ -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;
}