aggregator: Remove the GAP event from the queue before queueing up the GAP buffer
authorSebastian Dröge <sebastian@centricular.com>
Mon, 24 Jul 2017 15:38:57 +0000 (18:38 +0300)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 2 Dec 2017 15:10:27 +0000 (15:10 +0000)
commit70b4395e951645f8649fafd92c787c70a793201a
treede41d2ea1c33cabab115400fd7b3c58a504df81f
parente018273183c7b105dfc94f18a17b5ca575b0a5ca
aggregator: Remove the GAP event from the queue before queueing up the GAP buffer

Otherwise check_events() will not remove the GAP event (as the queue
tail is not the event anymore but the GAP buffer), then the GAP buffer
is handled, then the GAP event is handled again, ... forever.
libs/gst/base/gstaggregator.c