mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Revert "gstpipewiresrc: break out of wait_started() also on STATE_UNCONNECTED"
This reverts commit 7465175ad0.
wait_started() is called before the stream is connecting and so
exits with an error immediately, which then makes the stream start
too early and block.
This commit is contained in:
parent
0ecc7ca5f5
commit
aef99f840f
1 changed files with 4 additions and 3 deletions
|
|
@ -783,9 +783,10 @@ wait_started (GstPipeWireSrc *this)
|
||||||
GST_DEBUG_OBJECT (this, "waiting for started signal, state now %s",
|
GST_DEBUG_OBJECT (this, "waiting for started signal, state now %s",
|
||||||
pw_stream_state_as_string (state));
|
pw_stream_state_as_string (state));
|
||||||
|
|
||||||
if (state == PW_STREAM_STATE_ERROR ||
|
if (state == PW_STREAM_STATE_ERROR)
|
||||||
state == PW_STREAM_STATE_UNCONNECTED ||
|
break;
|
||||||
this->flushing) {
|
|
||||||
|
if (this->flushing) {
|
||||||
state = PW_STREAM_STATE_ERROR;
|
state = PW_STREAM_STATE_ERROR;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue