1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-22 08:25:26 +02:00

avmodel: update renderer on queued thread

This avoid a double lock on SHM renderer and there is no need
for direct connection there.

Change-Id: I9cd4c862bbefd26ab01b3a685551ea95fad2c41e
This commit is contained in:
Sébastien Blin 2023-02-06 13:40:05 -05:00
parent 2811d486e3
commit 1d41dd427d

View file

@ -949,7 +949,7 @@ AVModelPimpl::addRenderer(const QString& id, const QSize& res, const QString& sh
&Renderer::fpsChanged,
this,
[this, id](void) { Q_EMIT linked_.updateRenderersFPSInfo(id); },
Qt::DirectConnection);
Qt::QueuedConnection);
connect(
renderer,
&Renderer::started,