[Bug 742152] iterator: Add a way to iterate pads and elements only once for each

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jan 5 12:35:45 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=742152
  GStreamer | gstreamer (core) | git

Olivier CrĂȘte <olivier.crete> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olivier.crete at ocrete.ca

--- Comment #3 from Olivier CrĂȘte <olivier.crete at ocrete.ca> 2015-01-05 20:35:41 UTC ---
Another option would be to have a function like that to create a wrapper around
the original iterator, then we can use all of the existing functions, a bit
like gst_iterator_filter() works:
GstIterator *gst_iterator_once (GstIterator *iter);

I'm not a big fan of having special functions to iterate pads or elements,
maybe a generic one for GObjects? Then just have something like
gst_iterator_foreach_object()?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list