1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 14:52:43 +00:00

osd: properly redraw external overlays when they are set

This commit is contained in:
wm4 2014-10-14 18:33:31 +02:00
parent 5bddff6a24
commit bf382270f2

View File

@ -203,6 +203,7 @@ void osd_set_external2(struct osd_state *osd, struct sub_bitmaps *imgs)
{
pthread_mutex_lock(&osd->lock);
osd->objs[OSDTYPE_EXTERNAL2]->external2 = imgs;
osd_changed_unlocked(osd, OSDTYPE_EXTERNAL2);
pthread_mutex_unlock(&osd->lock);
}