pad: Don't unlock while iterating over all sticky events for removal
authorGöran Jönsson <goranjn@axis.com>
Tue, 1 Jul 2014 10:22:56 +0000 (12:22 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 1 Jul 2014 17:26:18 +0000 (19:26 +0200)
commitd0a808cdc87c60f3dea4ac8d458324fd9e458ae7
treebdd34eab7ba28098404db3c9797aec444b79192e
parentb5936efc9866eb1a171247150c28d18f874b5718
pad: Don't unlock while iterating over all sticky events for removal

Otherwise we might end up getting the event removed from elsewhere
at the same time while we're unlocked for g_object_notify().

https://bugzilla.gnome.org/show_bug.cgi?id=732556
gst/gstpad.c