Skip to content
Snippets Groups Projects
Commit 30e8bf56 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

videoprovider: fix copy-paste error

Change-Id: I76706abb2208267c9111903df9cfd92c3c03c2dd
parent d94c3083
No related branches found
No related tags found
No related merge requests found
......@@ -290,7 +290,7 @@ VideoProvider::onRendererStopped(const QString& id)
it->second.frameMutex.lockForWrite();
it->second.videoFrame = QVideoFrame();
it->second.active = true;
it->second.active = false;
it->second.frameMutex.unlock();
renderersMutex_.unlock();
......
......@@ -69,7 +69,7 @@ private:
QReadWriteLock frameMutex;
QSet<QVideoSink*> subscribers;
QReadWriteLock subscribersMutex;
bool active;
bool active {false};
};
std::map<QString, FrameObject> renderers_;
QReadWriteLock renderersMutex_;
......
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