vlc | branch: master | Steve Lhomme <[email protected]> | Thu Apr 4 08:47:49 2019 +0200| [665030c7f85925df303d0f5859f47593305f27ab] | committer: Steve Lhomme
vout:win32: no need to init the video HWND at the proper position We probably don't know it when it's created and it will be set properly when the first video placement is done, when we actually show the video HWND. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=665030c7f85925df303d0f5859f47593305f27ab --- modules/video_output/win32/events.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/video_output/win32/events.c b/modules/video_output/win32/events.c index 1360cc41cb..2f7c755a5b 100644 --- a/modules/video_output/win32/events.c +++ b/modules/video_output/win32/events.c @@ -515,9 +515,9 @@ static int CreateVideoWindow( event_thread_t *p_event ) p_event->hvideownd = CreateWindow( p_event->class_video, TEXT(""), /* window class */ WS_CHILD|WS_DISABLED, /* window style, not visible initially */ - p_event->place.x, p_event->place.y, - p_event->place.width, /* default width */ - p_event->place.height, /* default height */ + 0, 0, + CW_USEDEFAULT, /* default width */ + CW_USEDEFAULT, /* default height */ p_event->hwnd, /* parent window */ NULL, hInstance, (LPVOID)p_event ); /* send vd to WM_CREATE */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
