mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
pipewiresrc: improve remote connection errors
This commit is contained in:
parent
a003d1a39f
commit
629f824b91
5 changed files with 27 additions and 24 deletions
|
|
@ -895,6 +895,9 @@ gst_pipewire_src_create (GstPushSrc * psrc, GstBuffer ** buffer)
|
|||
if (pwsrc->flushing)
|
||||
goto streaming_stopped;
|
||||
|
||||
if (pwsrc->stream == NULL)
|
||||
goto streaming_error;
|
||||
|
||||
state = pwsrc->stream->state;
|
||||
if (state == PW_STREAM_STATE_ERROR)
|
||||
goto streaming_error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue