diff --git a/src/protocols/Screencopy.cpp b/src/protocols/Screencopy.cpp index 07a591e7..a444f3d0 100644 --- a/src/protocols/Screencopy.cpp +++ b/src/protocols/Screencopy.cpp @@ -342,7 +342,7 @@ void CScreencopyProtocolManager::shareAllFrames(CMonitor* pMonitor, bool dmabuf) // share frame if correct output for (auto& f : m_vFramesAwaitingWrite) { - if (!f->pMonitor) { + if (!f->pMonitor || !f->buffer) { framesToRemove.push_back(f); continue; }