mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
gst: don't stop streaming when paused
We pause when we are unlinked, don't stop the streaming thread because then we won't be able to resume when we are linked again. Fixes #3620
This commit is contained in:
parent
b8a8e00a80
commit
bdb7f3adc8
1 changed files with 1 additions and 1 deletions
|
|
@ -1188,7 +1188,7 @@ gst_pipewire_src_create (GstPushSrc * psrc, GstBuffer ** buffer)
|
|||
if (state == PW_STREAM_STATE_ERROR)
|
||||
goto streaming_error;
|
||||
|
||||
if (state != PW_STREAM_STATE_STREAMING)
|
||||
if (state == PW_STREAM_STATE_UNCONNECTED)
|
||||
goto streaming_stopped;
|
||||
|
||||
if ((caps = pwsrc->caps) != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue