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 634974 - [0.11] gst-python: gst.Bin has inconsistent bindings for gst_bin_iterate_{sources,sinks,elements}
[0.11] gst-python: gst.Bin has inconsistent bindings for gst_bin_iterate_{sou...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other All
: Normal enhancement
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-11-16 09:47 UTC by Leo Singer
Modified: 2012-12-17 11:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (665 bytes, patch)
2010-11-16 09:47 UTC, Leo Singer
rejected Details | Review

Description Leo Singer 2010-11-16 09:47:25 UTC
Created attachment 174593 [details] [review]
proposed patch

The attached patch improves the consistency of the Python bindings for GstBin's methods.

GstBin has the following methods:

gst_bin_iterate_sources
gst_bin_iterate_sinks
gst_bin_iterate_elements

but gst.Bin has the following methods:
gst.Bin.iterate_sources
gst.Bin.sinks
gst.bin.elements

This patch renames gst.Bin.iterate_sources to gst.Bin.sources.
Comment 1 Sebastian Dröge (slomo) 2010-12-12 15:22:49 UTC
Renaming it now will unfortunately break the API and has to wait until 0.11.
Comment 2 Sebastian Dröge (slomo) 2012-12-17 11:41:40 UTC
Closing this bug now, gst-python is only an extension module to pygi now and this bug doesn't make much sense anymore in this context.