From 619d3e62ff440ff89871242071af4f39012a8dcd Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Thu, 12 Nov 2020 12:15:58 +0100 Subject: [PATCH] Force preview deactivation before starting core. Preview was enabled on [video] `show_local` configuration that could be set to on after exiting the app while in settings (where the preview is on) --- linphone-app/src/components/core/CoreManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/linphone-app/src/components/core/CoreManager.cpp b/linphone-app/src/components/core/CoreManager.cpp index 7927783b8..64f96ea12 100644 --- a/linphone-app/src/components/core/CoreManager.cpp +++ b/linphone-app/src/components/core/CoreManager.cpp @@ -263,6 +263,7 @@ void CoreManager::createLinphoneCore (const QString &configPath) { mCore->addListener(mHandlers); mCore->setVideoDisplayFilter("MSOGL"); mCore->usePreviewWindow(true); + mCore->enableVideoPreview(false); mCore->setUserAgent( Utils::appStringToCoreString( QStringLiteral(APPLICATION_NAME" Desktop/%1 (%2, Qt %3) LinphoneCore")