[vlc-commits] vmem: do not explicitly delete the window

Rémi Denis-Courmont git at videolan.org
Sun May 20 19:51:34 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 16 21:48:21 2018 +0300| [b54c7d64f2773812926f53f80723e5a87bf974b8] | committer: Rémi Denis-Courmont

vmem: do not explicitly delete the window

The window variable is set to "none" anyway, so there will be no
windows to delete.

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

 modules/video_output/vmem.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/video_output/vmem.c b/modules/video_output/vmem.c
index 9c529e4a5e..09b6f31bfe 100644
--- a/modules/video_output/vmem.c
+++ b/modules/video_output/vmem.c
@@ -216,8 +216,6 @@ static int Open(vlc_object_t *object)
     vd->display = Display;
     vd->control = Control;
 
-    /* */
-    vout_display_DeleteWindow(vd, NULL);
     return VLC_SUCCESS;
 }
 



More information about the vlc-commits mailing list