From b30d076bbb0cfb2b0adf8bbebe633263d26f2100 Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Thu, 27 Dec 2018 16:23:57 -0500 Subject: [PATCH] Fix inverted logic --- src/VideoStreaming/VideoReceiver.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/VideoStreaming/VideoReceiver.cc b/src/VideoStreaming/VideoReceiver.cc index 148e071..32ca173 100644 --- a/src/VideoStreaming/VideoReceiver.cc +++ b/src/VideoStreaming/VideoReceiver.cc @@ -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() ||