mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
Handle error cases
Add a link state Add error quark Track the state of node we create and error when it is in error. Handle stream error states when negotiating Make the node error when a link is in error
This commit is contained in:
parent
6497c82a7d
commit
2bf322ee71
15 changed files with 422 additions and 71 deletions
|
|
@ -404,6 +404,22 @@ pinos_client_remove_object (PinosClient *client,
|
|||
g_object_unref (object);
|
||||
}
|
||||
|
||||
gboolean
|
||||
pinos_client_has_object (PinosClient *client,
|
||||
GObject *object)
|
||||
{
|
||||
PinosClientPrivate *priv;
|
||||
GList *found;
|
||||
|
||||
g_return_val_if_fail (PINOS_IS_CLIENT (client), FALSE);
|
||||
g_return_val_if_fail (G_IS_OBJECT (object), FALSE);
|
||||
priv = client->priv;
|
||||
|
||||
found = g_list_find (priv->objects, object);
|
||||
|
||||
return found != NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* pinos_client_get_sender:
|
||||
* @client: a #PinosClient
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue