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

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
parent 2811d486
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
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