diff options
Diffstat (limited to 'pjsip-apps/src/vidgui/vidgui.cpp')
-rw-r--r-- | pjsip-apps/src/vidgui/vidgui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip-apps/src/vidgui/vidgui.cpp b/pjsip-apps/src/vidgui/vidgui.cpp index 77f805d7..4a0b4d7d 100644 --- a/pjsip-apps/src/vidgui/vidgui.cpp +++ b/pjsip-apps/src/vidgui/vidgui.cpp @@ -260,7 +260,7 @@ void MainWin::preview() pjsua_vid_win_get_info(wid, &wi); video_prev_ = new VidWin(&wi.hwnd); - vbox_left->addWidget(video_prev_, 1); + video_prev_->putIntoLayout(vbox_left); //Using this will cause SDL window to display blank //screen sometimes, probably because it's using different //X11 Display @@ -339,7 +339,7 @@ void MainWin::initVideoWindow() pjsua_vid_win_get_info(ci.media[i].stream.vid.win_in, &wi); video_= new VidWin(&wi.hwnd); - vbox_left->addWidget(video_, 1); + video_->putIntoLayout(vbox_left); break; } |