From 2e6619f3d05c5b4564c3bcf00a510cc911968aae Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Mon, 15 Jan 2024 13:26:55 +0000 Subject: [PATCH] screencasting: Resume streams after buffer renegotiation When we start renegotiation the stream is pasused. This is not restarted when the format has been renegotiated. This occurred when a streaming window was resized --- src/plugins/screencast/screencaststream.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/screencast/screencaststream.cpp b/src/plugins/screencast/screencaststream.cpp index 114f2d5c14..debd5d64ab 100644 --- a/src/plugins/screencast/screencaststream.cpp +++ b/src/plugins/screencast/screencaststream.cpp @@ -207,6 +207,7 @@ void ScreenCastStream::onStreamParamChanged(uint32_t id, const struct spa_pod *f qCDebug(KWIN_SCREENCAST) << "Stream format found, defining buffers"; newStreamParams(); + m_streaming = true; } void ScreenCastStream::onStreamAddBuffer(pw_buffer *buffer)