[vlc-commits] win32: do not delete nonexistent window

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


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 16 23:26:35 2018 +0300| [112a8ed734ce87b7e73ff4af210b199cdbb25beb] | committer: Rémi Denis-Courmont

win32: do not delete nonexistent window

The window is not created (anymore) in wallpaper mode to begin with.

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

 modules/video_output/win32/events.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/video_output/win32/events.c b/modules/video_output/win32/events.c
index 319c70d94b..a8beb9fc9e 100644
--- a/modules/video_output/win32/events.c
+++ b/modules/video_output/win32/events.c
@@ -699,7 +699,6 @@ static int Win32VoutCreateWindow( event_thread_t *p_event )
     #if defined(MODULE_NAME_IS_direct3d9) || defined(MODULE_NAME_IS_direct3d11)
     else
     {
-        vout_display_DeleteWindow(vd, NULL);
         p_event->parent_window = NULL;
         p_event->hparent = GetDesktopHandle(vd);
     }



More information about the vlc-commits mailing list