[Bug 785679] element: add gst_element_foreach_*pad()
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Nov 2 16:02:53 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=785679
Tim-Philipp Müller <t.i.m at zen.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #356714|reviewed |committed
status| |
--- Comment #16 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Comment on attachment 356714
--> https://bugzilla.gnome.org/attachment.cgi?id=356714
element: add gst_element_foreach_*pad()
commit d106390adce5cee837d2d0aab377d758a45a4b2d (HEAD -> master, origin/master,
origin/HEAD)
Author: Tim-Philipp Müller <tim at centricular.com>
Date: Tue Aug 1 11:06:32 2017 +0100
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.
After all, it's always possible that a pad is added or removed
just after the iterator finishes iterating, but before the
function returns.
This is also a replacement for gst_aggregator_iterate_sink_pads().
https://bugzilla.gnome.org/show_bug.cgi?id=785679
--
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