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
This commit is contained in:
David Edmundson 2024-01-15 13:26:55 +00:00
parent f665dda192
commit 2e6619f3d0

View file

@ -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)