Skip to content
Snippets Groups Projects
Commit f9d49857 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

misc: fix crash on empty callId

Change-Id: I1d9d9a5f526942a53cbc0b34679a1c7c3c4c3f48
parent 90fa3846
No related branches found
No related tags found
No related merge requests found
......@@ -306,6 +306,9 @@ AvAdapter::onRendererStarted(const QString& id, const QSize& size)
{
Q_UNUSED(size)
auto callId = lrcInstance_->getCurrentCallId();
if (callId.isEmpty()) {
return;
}
auto callModel = lrcInstance_->getCurrentCallModel();
auto renderDevice = callModel->getCurrentRenderedDevice(callId);
if (!id.contains("://"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment