Improve introspection

Add instrospection of client and source-output.
Add properties to source-output and to CreateSourceOutput/Input
Add helper to fill properties of context.
Add client-name to pinossrc and pinossink
Improve test-subscribe to show all new introspection details.
This commit is contained in:
Wim Taymans 2015-07-28 17:05:03 +02:00
parent 85e09e7a5b
commit 13d846ec38
21 changed files with 684 additions and 72 deletions

View file

@ -252,11 +252,12 @@ on_socket_notify (GObject *gobject,
}
static PinosSourceOutput *
create_source_output (PinosSource *source,
const gchar *client_path,
GBytes *format_filter,
const gchar *prefix,
GError **error)
create_source_output (PinosSource *source,
const gchar *client_path,
GBytes *format_filter,
PinosProperties *props,
const gchar *prefix,
GError **error)
{
PinosSourceOutput *output;
PinosGstSourcePrivate *priv = PINOS_GST_SOURCE (source)->priv;
@ -289,6 +290,7 @@ create_source_output (PinosSource *source,
->create_source_output (source,
client_path,
format_filter,
props,
prefix,
error);
g_bytes_unref (format_filter);