Unverified Commit 091b3922 authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #7608 from MatejFranceskin/pr-restart-video-problem

We don't have to restart video when stream config changes
parents 1f9fede7 f1569b4a
......@@ -1564,9 +1564,7 @@ QGCCameraControl::handleVideoStatus(const mavlink_video_stream_status_t* vs)
qCDebug(CameraControlLog) << "handleVideoStatus:" << vs->stream_id;
QGCVideoStreamInfo* pInfo = _findStream(vs->stream_id);
if(pInfo) {
if(pInfo->update(vs)) {
emit _vehicle->dynamicCameras()->streamChanged();
}
pInfo->update(vs);
}
}
......
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