aggregator: don't try to take STREAM_LOCK on sink pad flush
authorMathieu Duponchelle <mathieu@centricular.com>
Tue, 11 Jun 2019 20:09:33 +0000 (22:09 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Tue, 11 Jun 2019 20:09:33 +0000 (22:09 +0200)
commit6d16615093fcd2bb27e0725066f084adbb106be2
tree2a79645aecf040812950573eb13d10498d1f54e7
parent4087361da3686fb099e595b03a973155addc862e
aggregator: don't try to take STREAM_LOCK on sink pad flush

This was a misguided effort to try and guarantee the buffers of
the sink pads would not change during aggregate, when an upstream
branch is seeked independently, however this is simply incorrect
as downstream has not necessarily been flushed, or the aggregate
function might be waiting to receive buffers on other pads.
libs/gst/base/gstaggregator.c