GstChildBin

GstChildBin — helper interface for multi child gstreamer elements

Synopsis




                    GstChildBin;
gboolean            gst_child_bin_add_child             (GstChildBin *self,
                                                         GstObject *child);
gboolean            gst_child_bin_remove_child          (GstChildBin *self,
                                                         GstObject *child);

Object Hierarchy


  GInterface
   +----GstChildBin

Prerequisites

GstChildBin requires GstChildProxy and GstObject.

Properties


  "children"                 gulong                : Read / Write

Description

This interface provides an extension to the GstChildProxy interface, which is useful for classes that have identical children.

The interface provides a GstChildBin:children property for the number of children as well as two methods to add and remove children.

Details

GstChildBin

typedef struct _GstChildBin GstChildBin;


gst_child_bin_add_child ()

gboolean            gst_child_bin_add_child             (GstChildBin *self,
                                                         GstObject *child);

Add the given child to the list of children.

self : a GObject that implements GstChildBin
child : the GstObject to add as a child
Returns : TRUE for success

gst_child_bin_remove_child ()

gboolean            gst_child_bin_remove_child          (GstChildBin *self,
                                                         GstObject *child);

Remove the given child from the list of children.

self : a GObject that implements GstChildBin
child : the GstObject to remove from the children
Returns : TRUE for success

Property Details

The "children" property

  "children"                 gulong                : Read / Write

the number of children this element uses.

Allowed values: >= 1