Browse Source

If using a GStreamer video source, don't load anything for UVC

QGC4.4
Gus Grubba 5 years ago
parent
commit
11c9c79e7d
  1. 2
      src/FlightDisplay/FlightDisplayView.qml

2
src/FlightDisplay/FlightDisplayView.qml

@ -440,7 +440,7 @@ Item { @@ -440,7 +440,7 @@ Item {
id: cameraLoader
anchors.fill: parent
visible: !QGroundControl.videoManager.isGStreamer
source: QGroundControl.videoManager.uvcEnabled ? "qrc:/qml/FlightDisplayViewUVC.qml" : "qrc:/qml/FlightDisplayViewDummy.qml"
source: visible ? (QGroundControl.videoManager.uvcEnabled ? "qrc:/qml/FlightDisplayViewUVC.qml" : "qrc:/qml/FlightDisplayViewDummy.qml") : ""
}
}

Loading…
Cancel
Save