summaryrefslogtreecommitdiffstats
path: root/sub/osd.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-14 18:33:31 +0200
committerwm4 <wm4@nowhere>2014-10-14 18:33:31 +0200
commitbf382270f2da6310ce24f1efe107f57377811c19 (patch)
treee9740ba17d4b03eb802f1f6afdaf4fb16f34aee4 /sub/osd.c
parent5bddff6a242b52d95179690a39ce794123e6b6a5 (diff)
downloadmpv-bf382270f2da6310ce24f1efe107f57377811c19.tar.bz2
mpv-bf382270f2da6310ce24f1efe107f57377811c19.tar.xz
osd: properly redraw external overlays when they are set
Diffstat (limited to 'sub/osd.c')
-rw-r--r--sub/osd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sub/osd.c b/sub/osd.c
index f977bea078..5b1c070051 100644
--- a/sub/osd.c
+++ b/sub/osd.c
@@ -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);
}