[vlc-commits] decklink: destroy the vout window if any

Rémi Denis-Courmont git at videolan.org
Thu Oct 16 19:25:59 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 11 18:01:09 2014 +0300| [75831244d8c6941d46e2db6c13d7503dfd9b005a] | committer: Rémi Denis-Courmont

decklink: destroy the vout window if any

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=75831244d8c6941d46e2db6c13d7503dfd9b005a
---

 modules/video_output/decklink.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/video_output/decklink.cpp b/modules/video_output/decklink.cpp
index 74932c6..d50957d 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -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:



More information about the vlc-commits mailing list