output: send output properties in start

Also send the output properties in start, along with the format.
This commit is contained in:
Wim Taymans 2015-08-21 11:45:38 +02:00
parent 104632ea7a
commit e9c72a6102
3 changed files with 19 additions and 8 deletions

View file

@ -215,9 +215,10 @@ handle_start (PinosSourceOutput1 *interface,
g_unix_fd_list_append (fdlist, fd[1], NULL);
g_dbus_method_invocation_return_value_with_unix_fd_list (invocation,
g_variant_new ("(hs)",
g_variant_new ("(hs@a{sv})",
0,
g_bytes_get_data (priv->format, NULL)),
g_bytes_get_data (priv->format, NULL),
pinos_properties_to_variant (priv->properties)),
fdlist);
g_object_set (priv->iface,