[gstreamer-bugs] [Bug 618853] add caps intersection iterators

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 17 03:28:53 PDT 2010


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

--- Comment #5 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2010-05-17 10:28:47 UTC ---
Additional ideas from irc discussion, we want

GstIterator *gst_caps_get_caps_iterator(GstPad *pad)
- for sources, return an iterator wrapping the template caps
- for others, return a iterator that iterates the intersection of the peer pad
caps and the template caps)
- it would be a function on a pad, that can be overridden (like
GstPadGetCapsFunction -> GstPadGetCapsIteratorFunction)

So the GstCapsIntersectionIterator should be changed to take to GstIterators
and we need a iterator that iterates structures in a caps:

GstIterator *gst_caps_iterate_structure(GstCaps * caps1)

-- 
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