[vlc-commits] vout:win32: fix window messages not handled by the vout HWND
Steve Lhomme
git at videolan.org
Thu May 7 14:49:29 CEST 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu May 7 10:57:55 2020 +0200| [985413c07f9f97830bacde7b657de9f5d3f6a3c8] | committer: Steve Lhomme
vout:win32: fix window messages not handled by the vout HWND
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=985413c07f9f97830bacde7b657de9f5d3f6a3c8
---
modules/video_output/win32/events.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/video_output/win32/events.c b/modules/video_output/win32/events.c
index 9cc449f25c..ad6effbcf3 100644
--- a/modules/video_output/win32/events.c
+++ b/modules/video_output/win32/events.c
@@ -245,8 +245,6 @@ static long FAR PASCAL VideoEventProc( HWND hwnd, UINT message,
return DefWindowProc(hwnd, message, wParam, lParam);
event_thread_t *p_event = (event_thread_t *)p_user_data;
- /* Let windows handle the message */
- return DefWindowProc(hwnd, message, wParam, lParam);
switch( message )
{
/* the user wants to close the window */
@@ -277,6 +275,7 @@ static long FAR PASCAL VideoEventProc( HWND hwnd, UINT message,
ValidateRect(hwnd, NULL);
// fall through
default:
+ /* Let windows handle the message */
return DefWindowProc(hwnd, message, wParam, lParam);
}
}
More information about the vlc-commits
mailing list