GNOME Bugzilla – Bug 301488
secondary interface for gstchildproxy elements to add/remove children
Last modified: 2006-01-12 14:26:01 UTC
elements that have gstobject children and implement GstChildProxy need an interface to let applicatins add/remove children. This was not added to gstchildproxy as e.g. for elemnts that manage pads as children, this would not make sense. Naming suggestion for this iface is GstChildBin and suggested location will be gst-plugins/gst-libs/gst/childbin/
I don't think such an interface is needed. All GstChildProxies that implement add or remove methods use their own methods for this. GstBin for example uses gst_bin_add/remove for this. What would different implementations have in common here?
an app would just check if the iface is supported and then use it to adjust the number of childen
Could you give an example of how such an interface would look?
for glib version> 2.4 if would expose an interface propery challed "child-count". apart it would provide a method gst_XXX_set_child_count()
Stefan, you still interested in this?
I have solved this so far by having another interface in my own gstreamer-extension reporitory which does it. Still belive this should go into gstreamer at some time. http://cvs.sourceforge.net/viewcvs.py/buzztard/gst-buzztard/
Going ahead and closing this -- unless there are a couple users of this API it's probably better for you to keep your flexibility in having this outside GStreamer core.