[Bug 785679] New: element: add gst_element_foreach_*pad()
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Aug 1 11:17:22 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=785679
Bug ID: 785679
Summary: element: add gst_element_foreach_*pad()
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: enhancement
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: t.i.m at zen.co.uk
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 356714
--> https://bugzilla.gnome.org/attachment.cgi?id=356714&action=edit
element: add gst_element_foreach_*pad()
Add convenience API that iterates over all pads, sink pads or source pads and
makes sure that the foreach function is called exactly once for each pad.
This is a KISS implementation. It doesn't use GstIterator and doesn't try to do
clever things like resync if pads are added or removed while the function is
executing. We can still do that in future if we think it's needed, but in
practice it will likely make absolutely no difference whatsoever, since these
things will have to be handled properly elsewhere by the element anyway if
they're important.
This is also a replacement for gst_aggregator_iterate_sink_pads().
--
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