mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-24 08:56:47 -05:00
handle set_format with existing format
If one calls set-format with the current format, we return success Remove some unused utils now Work on cleanup of buffers
This commit is contained in:
parent
55c3262a6a
commit
ab0537305f
9 changed files with 82 additions and 143 deletions
|
|
@ -105,7 +105,7 @@ node_add_port (PinosNode *node,
|
|||
"id", id,
|
||||
NULL);
|
||||
if (port) {
|
||||
g_hash_table_insert (priv->ports, GUINT_TO_POINTER (id), port);
|
||||
g_hash_table_insert (priv->ports, GUINT_TO_POINTER (port->id), port);
|
||||
g_signal_connect (port, "remove", (GCallback) do_remove_port, node);
|
||||
g_signal_emit (node, signals[SIGNAL_PORT_ADDED], 0, port);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue