mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-16 07:00:00 -05:00
node: add support for multiple input and output ports
Make it possible to have a mixer/spliter and converter for the gstreamer sources and sinks. Add logic to make a new input/output port when the existing ports are not of the required format.
This commit is contained in:
parent
e7e141a31d
commit
ca4f3d84cd
12 changed files with 568 additions and 186 deletions
|
|
@ -99,13 +99,17 @@ device_added (PinosGstManager *manager,
|
|||
name,
|
||||
properties,
|
||||
element,
|
||||
caps);
|
||||
caps,
|
||||
NULL,
|
||||
NULL);
|
||||
} else if (strstr (klass, "Sink")) {
|
||||
node = pinos_gst_sink_new (priv->daemon,
|
||||
name,
|
||||
properties,
|
||||
element,
|
||||
caps);
|
||||
caps,
|
||||
NULL,
|
||||
NULL);
|
||||
}
|
||||
if (node)
|
||||
g_object_set_data (G_OBJECT (device), "PinosServerNode", node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue