funnel: Only emit EOS event if all sinkpads have received one
authorMike Ruprecht <mike.ruprecht@collabora.co.uk>
Sat, 26 May 2012 03:52:33 +0000 (22:52 -0500)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Thu, 31 May 2012 17:39:05 +0000 (13:39 -0400)
commita71f3ce6e862b8b64325faa3aa87973b097b55ca
tree4de6e0075d0288d2524d0c50d716f521badf7318
parent5e76a19566a177bd65e22a1d742c0038885194a3
funnel: Only emit EOS event if all sinkpads have received one

If multiple sources are plugged into the funnel and one of the
sources emits an EOS, that event is propogated through the funnel
even though other sources connected to the funnel may still be
pushing data. This patch waits to send an EOS event until the
funnel has received an EOS event on each sinkpad.

Ported from d397ea97 in 0.10 branch.
plugins/elements/gstfunnel.c