Browse Source

Fix inverted logic

QGC4.4
Gus Grubba 6 years ago
parent
commit
b30d076bbb
  1. 3
      src/VideoStreaming/VideoReceiver.cc

3
src/VideoStreaming/VideoReceiver.cc

@ -220,7 +220,8 @@ VideoReceiver::_timeout() @@ -220,7 +220,8 @@ VideoReceiver::_timeout()
void
VideoReceiver::start()
{
if(!qgcApp()->runningUnitTests()) {
qCDebug(VideoReceiverLog) << "start():" << _uri;
if(qgcApp()->runningUnitTests()) {
return;
}
if(!_videoSettings->streamEnabled()->rawValue().toBool() ||

Loading…
Cancel
Save