mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
fix(src/components/camera/Camera): reset correctly context info
This commit is contained in:
parent
3577df4498
commit
fb81f7c640
1 changed files with 4 additions and 4 deletions
|
|
@ -55,10 +55,10 @@ CameraRenderer::~CameraRenderer () {
|
|||
|
||||
core->lockVideoRender();
|
||||
|
||||
memset(m_context_info, 0, sizeof *m_context_info);
|
||||
m_update_context_info = true;
|
||||
|
||||
updateWindowId();
|
||||
if (m_is_preview)
|
||||
CoreManager::getInstance()->getCore()->setNativePreviewWindowId(nullptr);
|
||||
else if (m_linphone_call)
|
||||
m_linphone_call->setNativeVideoWindowId(nullptr);
|
||||
|
||||
core->unlockVideoRender();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue