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
|
|
@ -380,7 +380,7 @@ gst_pinos_device_provider_probe (GstDeviceProvider * provider)
|
|||
goto failed;
|
||||
}
|
||||
|
||||
if (state == PINOS_CONTEXT_STATE_READY)
|
||||
if (state == PINOS_CONTEXT_STATE_CONNECTED)
|
||||
break;
|
||||
|
||||
/* Wait until something happens */
|
||||
|
|
@ -442,10 +442,9 @@ context_state_notify (GObject *gobject,
|
|||
|
||||
switch (state) {
|
||||
case PINOS_CONTEXT_STATE_CONNECTING:
|
||||
case PINOS_CONTEXT_STATE_REGISTERING:
|
||||
break;
|
||||
case PINOS_CONTEXT_STATE_UNCONNECTED:
|
||||
case PINOS_CONTEXT_STATE_READY:
|
||||
case PINOS_CONTEXT_STATE_CONNECTED:
|
||||
break;
|
||||
case PINOS_CONTEXT_STATE_ERROR:
|
||||
GST_ERROR_OBJECT (self, "context error: %s",
|
||||
|
|
@ -512,7 +511,7 @@ gst_pinos_device_provider_start (GstDeviceProvider * provider)
|
|||
goto not_running;
|
||||
}
|
||||
|
||||
if (state == PINOS_CONTEXT_STATE_READY)
|
||||
if (state == PINOS_CONTEXT_STATE_CONNECTED)
|
||||
break;
|
||||
|
||||
/* Wait until something happens */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue