1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-19 06:55:24 +02:00

videoprovider: fix copy-paste error

Change-Id: I76706abb2208267c9111903df9cfd92c3c03c2dd
This commit is contained in:
Andreas Traczyk 2023-06-01 14:46:37 -04:00
parent d94c30833f
commit 30e8bf56fb
2 changed files with 2 additions and 2 deletions

View file

@ -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();

View file

@ -69,7 +69,7 @@ private:
QReadWriteLock frameMutex;
QSet<QVideoSink*> subscribers;
QReadWriteLock subscribersMutex;
bool active;
bool active {false};
};
std::map<QString, FrameObject> renderers_;
QReadWriteLock renderersMutex_;