basesrc: Protect access to pool and allocator
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 1 Jun 2017 14:01:13 +0000 (10:01 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 29 Jun 2017 14:51:33 +0000 (10:51 -0400)
commit946622ec3fa975a5d570047ee37c287f0d8e791c
treeae4bc2c225f8929dc2867e5fbe3337c38e570f34
parenta8acba142f95815d93112294e7d2110553aeb62e
basesrc: Protect access to pool and allocator

This was only partly protected by the object lock. Always take the
object lock to access the currently configured pool and allocator.

https://bugzilla.gnome.org/show_bug.cgi?id=783301
libs/gst/base/gstbasesrc.c