Commit 8cc078b4 authored by Matej Frančeškin's avatar Matej Frančeškin

Fix crash in CI unit tests

parent 360214c1
......@@ -63,7 +63,6 @@ GstVideoReceiver::GstVideoReceiver(QObject* parent)
GstVideoReceiver::~GstVideoReceiver(void)
{
stop();
_slotHandler.shutdown();
}
......@@ -282,7 +281,7 @@ GstVideoReceiver::stop(void)
}
if (_uri.isEmpty()) {
qCWarning(VideoReceiverLog) << "We should not be here";
qCWarning(VideoReceiverLog) << "Stop called on empty URI";
return;
}
......@@ -667,8 +666,6 @@ void
GstVideoReceiver::_handleEOS(void)
{
if(_pipeline == nullptr) {
qCWarning(VideoReceiverLog) << "We should not be here";
stop();
return;
}
......
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