mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
Add provide mode to pinossink
Add a mode to provide a stream to pinossink Small improvements, leak fixes.
This commit is contained in:
parent
ba4ef9b5d9
commit
20c50772fa
20 changed files with 309 additions and 212 deletions
|
|
@ -201,7 +201,7 @@ subscription_cb (PinosSubscribe *subscribe,
|
|||
PINOS_STREAM_STATE_ERROR,
|
||||
g_error_new_literal (G_IO_ERROR,
|
||||
G_IO_ERROR_CLOSED,
|
||||
"Output disappeared"));
|
||||
"Channel disappeared"));
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
@ -508,8 +508,8 @@ on_channel_proxy (GObject *source_object,
|
|||
if (priv->channel == NULL)
|
||||
goto channel_failed;
|
||||
|
||||
/* get the source we are connected to */
|
||||
v = g_dbus_proxy_get_cached_property (priv->channel, "Owner");
|
||||
/* get the port we are connected to */
|
||||
v = g_dbus_proxy_get_cached_property (priv->channel, "Port");
|
||||
if (v) {
|
||||
gsize len;
|
||||
str = g_variant_dup_string (v, &len);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue