format: implement more gstreamer -> pinos format

This commit is contained in:
Wim Taymans 2016-08-09 14:35:44 +02:00
parent 0d2f5a1386
commit 837c23a370
8 changed files with 367 additions and 60 deletions

View file

@ -185,13 +185,11 @@ no_node:
static void
on_port_added (PinosNode *node, PinosPort *port, PinosClient *client)
{
pinos_client_add_object (client, G_OBJECT (port));
}
static void
on_port_removed (PinosNode *node, PinosPort *port, PinosClient *client)
{
pinos_client_remove_object (client, G_OBJECT (port));
}
static gboolean

View file

@ -514,7 +514,7 @@ pinos_node_class_init (PinosNodeClass * klass)
NULL,
g_cclosure_marshal_generic,
G_TYPE_NONE,
0,
1,
PINOS_TYPE_PORT);
signals[SIGNAL_PORT_REMOVED] = g_signal_new ("port-removed",
G_TYPE_FROM_CLASS (klass),
@ -524,7 +524,7 @@ pinos_node_class_init (PinosNodeClass * klass)
NULL,
g_cclosure_marshal_generic,
G_TYPE_NONE,
0,
1,
PINOS_TYPE_PORT);
node_class->set_state = node_set_state;