Commit 2d4984a0 authored by dogmaphobic's avatar dogmaphobic

Turn camera off when not in use.

parent ac1c8f9d
......@@ -206,6 +206,12 @@ QGCView {
anchors.fill: parent
visible: !QGroundControl.videoManager.isGStreamer
}
onVisibleChanged: {
if(visible)
camera.start()
else
camera.stop()
}
}
}
......
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