]> git.sesse.net Git - vlc/commitdiff
decklink: destroy the vout window if any
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 11 Oct 2014 15:01:09 +0000 (18:01 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 16 Oct 2014 17:23:38 +0000 (20:23 +0300)
modules/video_output/decklink.cpp

index 74932c6aad64d273f7dabdf272d0143ddaa2ee3e..d50957df79bd8a2460e4a7986b0fbfc7fc1e2ad2 100644 (file)
@@ -476,6 +476,8 @@ static struct decklink_sys_t *OpenDecklink(vout_display_t *vd)
 
     vlc_mutex_unlock(&decklink_sys->lock);
 
+    vout_display_DeleteWindow(vd, NULL);
+
     return decklink_sys;
 
 error: