vlc | branch: master | Steve Lhomme <[email protected]> | Tue Mar 26 15:26:34 2019 +0100| [aa006bc69a0798b38ae368a3f3bfef796650d74b] | committer: Steve Lhomme
vout:win32: only notify the size change if we have no parent Otherwise it's the job of the parent_window to report size changes. We only have no hparent when the vout_window_t is a dummy window with no HWND. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aa006bc69a0798b38ae368a3f3bfef796650d74b --- modules/video_output/win32/events.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/video_output/win32/events.c b/modules/video_output/win32/events.c index c609423d8f..05dad1c95f 100644 --- a/modules/video_output/win32/events.c +++ b/modules/video_output/win32/events.c @@ -946,7 +946,8 @@ static long FAR PASCAL WinVoutEventProc( HWND hwnd, UINT message, { case WM_SIZE: - atomic_store(&p_event->size_changed, true); + if (!p_event->hparent) + atomic_store(&p_event->size_changed, true); return 0; /* the user wants to close the window */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
