After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 301488 - secondary interface for gstchildproxy elements to add/remove children
secondary interface for gstchildproxy elements to add/remove children
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.9
Other Linux
: Normal enhancement
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 171735
Blocks:
 
 
Reported: 2005-04-21 17:33 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2006-01-12 14:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefan Sauer (gstreamer, gtkdoc dev) 2005-04-21 17:33:54 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/
Comment 1 Benjamin Otte (Company) 2005-04-22 09:27:09 UTC
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?
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2005-04-22 09:29:39 UTC
an app would just check if the iface is supported and then use it to adjust the
number of childen
Comment 3 Benjamin Otte (Company) 2005-04-22 09:31:48 UTC
Could you give an example of how such an interface would look?
Comment 4 Stefan Sauer (gstreamer, gtkdoc dev) 2005-04-22 09:34:14 UTC
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()
Comment 5 Andy Wingo 2006-01-12 12:59:24 UTC
Stefan, you still interested in this?
Comment 6 Stefan Sauer (gstreamer, gtkdoc dev) 2006-01-12 13:05:12 UTC
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/
Comment 7 Andy Wingo 2006-01-12 14:26:01 UTC
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.