Commit 11c9c79e authored by Gus Grubba's avatar Gus Grubba

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

parent 33dc3ae5
...@@ -440,7 +440,7 @@ Item { ...@@ -440,7 +440,7 @@ Item {
id: cameraLoader id: cameraLoader
anchors.fill: parent anchors.fill: parent
visible: !QGroundControl.videoManager.isGStreamer 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") : ""
} }
} }
......
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