Browse Source

Turn camera off when not in use.

QGC4.4
dogmaphobic 9 years ago
parent
commit
2d4984a0d1
  1. 6
      src/FlightDisplay/FlightDisplayView.qml

6
src/FlightDisplay/FlightDisplayView.qml

@ -206,6 +206,12 @@ QGCView { @@ -206,6 +206,12 @@ QGCView {
anchors.fill: parent
visible: !QGroundControl.videoManager.isGStreamer
}
onVisibleChanged: {
if(visible)
camera.start()
else
camera.stop()
}
}
}

Loading…
Cancel
Save