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:
parent
f665dda192
commit
2e6619f3d0
1 changed files with 1 additions and 0 deletions
|
@ -207,6 +207,7 @@ void ScreenCastStream::onStreamParamChanged(uint32_t id, const struct spa_pod *f
|
||||||
|
|
||||||
qCDebug(KWIN_SCREENCAST) << "Stream format found, defining buffers";
|
qCDebug(KWIN_SCREENCAST) << "Stream format found, defining buffers";
|
||||||
newStreamParams();
|
newStreamParams();
|
||||||
|
m_streaming = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenCastStream::onStreamAddBuffer(pw_buffer *buffer)
|
void ScreenCastStream::onStreamAddBuffer(pw_buffer *buffer)
|
||||||
|
|
Loading…
Reference in a new issue