Commit fb81f7c6 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(src/components/camera/Camera): reset correctly context info

parent 3577df44
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment