From 1d41dd427df407c11faaf194fa6e579eb19e38de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Mon, 6 Feb 2023 13:40:05 -0500 Subject: [PATCH] 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 --- src/libclient/avmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libclient/avmodel.cpp b/src/libclient/avmodel.cpp index d5a37ede4..071132a8b 100644 --- a/src/libclient/avmodel.cpp +++ b/src/libclient/avmodel.cpp @@ -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, -- GitLab