mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
fix : do not force capture and display unless video is not supported
This commit is contained in:
parent
a638a7d852
commit
2b328583ec
2 changed files with 3 additions and 8 deletions
|
|
@ -85,9 +85,9 @@ void CoreModel::start() {
|
|||
// Useful if the app was built without video support.
|
||||
// (The capture/display attributes are reset by the core in this case.)
|
||||
auto config = mCore->getConfig();
|
||||
if (mCore->videoSupported()) {
|
||||
config->setInt("video", "capture", 1);
|
||||
config->setInt("video", "display", 1);
|
||||
if (!mCore->videoSupported()) {
|
||||
config->setInt("video", "capture", 0);
|
||||
config->setInt("video", "display", 0);
|
||||
}
|
||||
|
||||
// TODO : set the real transport type when sdk will be updated
|
||||
|
|
|
|||
|
|
@ -1,8 +1,3 @@
|
|||
|
||||
|
||||
/**
|
||||
* Qml template used for welcome and login/register pages
|
||||
**/
|
||||
import QtCore
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue