GstInterPipe

GstInterPipe

Functions

Description

GstInterpipe Core handling inter pipeline communication.

Functions

gst_inter_pipe_get_node ()

GstInterPipeINode *
gst_inter_pipe_get_node (const gchar *node_name);

Search for node_name in the list of existing nodes and return the appropriate GstInterPipeINode. If the node was not found null will be returned accordingly.

Parameters

node_name

the name of the node to return.

[transfer none][not nullable]

Returns

The respective GstInterPipeINode or null.

[transfer none][nullable]


gst_inter_pipe_listen_node ()

gboolean
gst_inter_pipe_listen_node (GstInterPipeIListener *listener,
                            const gchar *node_name);

Register a listener to listen to an specific node. If the node is not yet available, the listener will be notified later.

Parameters

listener

The listener object to attach to the node.

[transfer none][not nullable]

node_name

The name of the node to attach to.

[transfer none][not nullable]

Returns

TRUE if the listener was registered correctly, FALSE otherwise.


gst_inter_pipe_leave_node ()

gboolean
gst_inter_pipe_leave_node (GstInterPipeIListener *listener);

Disconnect a listener from its respective node.

Parameters

listener

The listener to detach.

[transfer none][not nullable]

Returns

TRUE if the listener was detached correclty, FALSE otherwise


gst_inter_pipe_add_node ()

gboolean
gst_inter_pipe_add_node (GstInterPipeINode *node,
                         const gchar *node_name);

Add a new node to the available nodes list

Parameters

node

The node object to register.

[transfer full][not nullable]

Returns

TRUE if the node was added succesfully, FALSE otherwise.


gst_inter_pipe_remove_node ()

gboolean
gst_inter_pipe_remove_node (GstInterPipeINode *node,
                            const gchar *node_name);

Remove a node from the nodes list.

Parameters

node

The node object to be removed.

[transfer none][not nullable]

Returns

TRUE if the node was removed succesfully, FALSE otherwise.

Types and Values