mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-26 07:00:13 -05:00
remove READY state on context
Now that we don't need to register anymore to the daemon we can just remove this state.
This commit is contained in:
parent
5f10a933a1
commit
89f8f41045
7 changed files with 16 additions and 22 deletions
|
|
@ -906,8 +906,7 @@ on_context_notify (GObject *gobject,
|
|||
switch (state) {
|
||||
case PINOS_CONTEXT_STATE_UNCONNECTED:
|
||||
case PINOS_CONTEXT_STATE_CONNECTING:
|
||||
case PINOS_CONTEXT_STATE_REGISTERING:
|
||||
case PINOS_CONTEXT_STATE_READY:
|
||||
case PINOS_CONTEXT_STATE_CONNECTED:
|
||||
break;
|
||||
case PINOS_CONTEXT_STATE_ERROR:
|
||||
GST_ELEMENT_ERROR (pinossrc, RESOURCE, FAILED,
|
||||
|
|
@ -954,7 +953,7 @@ gst_pinos_src_open (GstPinosSrc * pinossrc)
|
|||
while (TRUE) {
|
||||
PinosContextState state = pinos_context_get_state (pinossrc->ctx);
|
||||
|
||||
if (state == PINOS_CONTEXT_STATE_READY)
|
||||
if (state == PINOS_CONTEXT_STATE_CONNECTED)
|
||||
break;
|
||||
|
||||
if (state == PINOS_CONTEXT_STATE_ERROR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue