Skip to content

Commit

Permalink
osd: fix OSD redrawing after removing external overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
wm4 committed Sep 20, 2016
1 parent 6b5e5b6 commit fe872f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sub/osd_libass.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit fe872f5

Please sign in to comment.