aggregator: keep chain functions as dumb as possible.

+ A pad chain function has no business checking other pads,
  that's what the aggregate thread is for.

https://bugzilla.gnome.org/show_bug.cgi?id=742684
This commit is contained in:
Mathieu Duponchelle 2015-01-26 13:11:05 +01:00 committed by Thibault Saunier
parent ccf329d527
commit b27fb0dbac

View file

@ -1807,8 +1807,7 @@ gst_aggregator_pad_chain (GstPad * pad, GstObject * object, GstBuffer * buffer)
PAD_UNLOCK (aggpad);
PAD_STREAM_UNLOCK (aggpad);
if (gst_aggregator_check_pads_ready (self))
SRC_STREAM_BROADCAST (self);
SRC_STREAM_BROADCAST (self);
SRC_STREAM_UNLOCK (self);
GST_DEBUG_OBJECT (aggpad, "Done chaining");