Commit bb763854 authored by Andrew Voznytsa's avatar Andrew Voznytsa

Fix video initialization - VideoReceiver did not start because sink was not...

Fix video initialization - VideoReceiver did not start because sink was not created because videoBackgroundComponent was not loaded on startup if video was disabled
parent a81521f3
......@@ -131,7 +131,7 @@ Item {
width: parent.getWidth()
anchors.centerIn: parent
visible: _videoReceiver && _videoReceiver.videoRunning
sourceComponent: videoDisabled ? null : videoBackgroundComponent
sourceComponent: videoBackgroundComponent
property bool videoDisabled: QGroundControl.settingsManager.videoSettings.videoSource.rawValue === QGroundControl.settingsManager.videoSettings.disabledVideoSource
}
......
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