aggregator: check if pads are ready more efficiently
authorTim-Philipp Müller <tim@centricular.com>
Sun, 4 Jan 2015 16:57:05 +0000 (16:57 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 2 Dec 2017 15:10:26 +0000 (15:10 +0000)
commit0db6fc999b4b21f765221b8ee64222ac3bceb8b6
tree16fa1467208522894c01a037b035965d8f6c9cd1
parent100d860ad292c0c7ffcd0c35db0bcd71a942db02
aggregator: check if pads are ready more efficiently

No need to use an iterator for this which creates a temporary
structure every time and also involves taking and releasing the
object lock many times in the course of iterating. Not to mention
all that GList handling in gst_aggregator_iterate_sinkpads().
libs/gst/base/gstaggregator.c