gstreamer/win32/common
Tim-Philipp Müller d106390adc 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
2017-11-02 15:59:22 +00:00
..
libgstbase.def base: Export boxed type copy/free functions for the remaining types 2017-06-20 09:57:01 +03:00
libgstcontroller.def controller: Export boxed type copy/free functions for GstControlPoint 2017-06-20 10:00:16 +03:00
libgstnet.def netaddressmeta: gst_buffer_get_net_address_meta() as function 2015-10-27 12:59:24 +00:00
libgstreamer.def element: add gst_element_foreach_*pad() 2017-11-02 15:59:22 +00:00