diff --git a/src/plugins/platforms/drm/drm_gpu.cpp b/src/plugins/platforms/drm/drm_gpu.cpp index e2a8b82224..946664047d 100644 --- a/src/plugins/platforms/drm/drm_gpu.cpp +++ b/src/plugins/platforms/drm/drm_gpu.cpp @@ -340,8 +340,10 @@ bool DrmGpu::commitCombination(const QVector &pipelines) return true; } else { for (const auto &pipeline : qAsConst(pipelines)) { - Q_EMIT outputDisabled(pipeline->output()); - delete pipeline->output(); + if (!m_outputs.contains(pipeline->output())) { + Q_EMIT outputDisabled(pipeline->output()); + delete pipeline->output(); + } } return false; }