diff --git a/linphone/mediastreamer2/src/videoout.c b/linphone/mediastreamer2/src/videoout.c index cf25a9b82a55af0b19ffcbf099e8f784b831c591..43ef00b3e5d3d1fa4a7a68b88ed3a1ce1ac5955a 100644 --- a/linphone/mediastreamer2/src/videoout.c +++ b/linphone/mediastreamer2/src/videoout.c @@ -322,8 +322,9 @@ static HWND create_window(int w, int h) ms_error("AdjustWindowRect failed."); } ms_message("AdjustWindowRect: %li,%li %li,%li",rect.left,rect.top,rect.right,rect.bottom); - hwnd=CreateWindow("Video Window", "Video window", /*WS_OVERLAPPEDWINDOW*/ WS_THICKFRAME|WS_VISIBLE , - CW_USEDEFAULT, CW_USEDEFAULT, rect.right-rect.left,rect.bottom-rect.top, + hwnd=CreateWindow("Video Window", "Video window", + WS_OVERLAPPEDWINDOW /*WS_THICKFRAME*/ | WS_VISIBLE , + CW_USEDEFAULT, CW_USEDEFAULT, rect.right-rect.left,rect.bottom-rect.top, NULL, NULL, hInstance, NULL); if (hwnd==NULL){ ms_error("Fail to create video window");