mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-22 08:56:59 -05:00
update DBus object with current format
Detect a format change in the payloader and post an element message. Catch the format change element message in the client-source and use it to update the format and possible formats in the source and source-outputs.
This commit is contained in:
parent
44f2c3602d
commit
45976ffeda
5 changed files with 57 additions and 0 deletions
|
|
@ -179,6 +179,8 @@ pinos_source_output_set_property (GObject *_object,
|
|||
if (priv->format)
|
||||
g_bytes_unref (priv->format);
|
||||
priv->format = g_value_dup_boxed (value);
|
||||
g_object_set (priv->iface, "format",
|
||||
g_bytes_get_data (priv->format, NULL), NULL);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue