From 4a526693dd468b08d74cf9f10fcfb6a488516e62 Mon Sep 17 00:00:00 2001 From: smorlat <smorlat@3f6dc0c8-ddfe-455d-9043-3cd528dc4637> Date: Mon, 21 Sep 2009 13:42:18 +0000 Subject: [PATCH] change to overlapped window git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@671 3f6dc0c8-ddfe-455d-9043-3cd528dc4637 --- linphone/mediastreamer2/src/videoout.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/linphone/mediastreamer2/src/videoout.c b/linphone/mediastreamer2/src/videoout.c index cf25a9b82a..43ef00b3e5 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"); -- GitLab