aggregator: Make the PAD_LOCK private
authorThibault Saunier <tsaunier@gnome.org>
Mon, 26 Jan 2015 10:29:08 +0000 (11:29 +0100)
committerThibault Saunier <tsaunier@gnome.org>
Thu, 29 Jan 2015 09:24:18 +0000 (10:24 +0100)
commitb1eef4f4362ec8f125948a1760a496c089e1f488
tree4b3f84c0d4970cd8dc7175f5c559023239065cc7
parent198b16c563d03913c3608b47a6ea462fb888a214
aggregator: Make the PAD_LOCK private

Instead of using the GST_OBJECT_LOCK we should have
a dedicated mutex for the pad as it is also associated
with the mutex on the EVENT_MUTEX on which we wait
in the _chain function of the pad.

The GstAggregatorPad.segment is still protected with the
GST_OBJECT_LOCK.

Remove the gst_aggregator_pad_peak_unlocked method as it does not make
sense anymore with a private lock.

https://bugzilla.gnome.org/show_bug.cgi?id=742684
gst/audiomixer/gstaudiomixer.c