Skip to content

Commit

Permalink
portals: fix output screencopy not capturing after error
Browse files Browse the repository at this point in the history
  • Loading branch information
lennoxlotl committed Aug 18, 2024
1 parent 7f2a77d commit 0a9eeec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/portals/Screencopy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ static void wlrOnBufferDone(void* data, zwlr_screencopy_frame_v1* frame) {
PSESSION->sharingData.frameCallback = nullptr;
Debug::log(LOG, "[screencopy/pipewire] Out of buffers");
PSESSION->sharingData.status = FRAME_NONE;
g_pPortalManager->m_sPortals.screencopy->m_pPipewire->updateStreamParam(PSTREAM);
g_pPortalManager->m_sPortals.screencopy->queueNextShareFrame(PSESSION);
return;
}

Expand Down

0 comments on commit 0a9eeec

Please sign in to comment.