mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-19 05:33:49 -04:00
pipewiresrc: fix wait_negotiated from change_state
Going from PLAYING to PAUSED will have basesrc calling unlock and setting flushing to false. Going back to PLAYING may then fail in wait_negotiated, as unlock_stop will be called after change_state. Fix by remove the flushing check, since already in that "state".
This commit is contained in:
parent
1a37f445a2
commit
e5809ee052
1 changed files with 0 additions and 4 deletions
|
|
@ -1085,10 +1085,6 @@ wait_negotiated (GstPipeWireSrc *this)
|
|||
GST_DEBUG_OBJECT (this, "waiting for NEGOTIATED, now %s", pw_stream_state_as_string (state));
|
||||
if (state == PW_STREAM_STATE_ERROR)
|
||||
break;
|
||||
if (this->flushing) {
|
||||
state = PW_STREAM_STATE_ERROR;
|
||||
break;
|
||||
}
|
||||
|
||||
if (this->negotiated)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue