bin: Make sure we don't add/remove a bin to/from itself
authorVivia Nikolaidou <vivia@toolsonair.com>
Mon, 24 Aug 2015 18:04:37 +0000 (21:04 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 25 Aug 2015 07:19:44 +0000 (10:19 +0300)
commitee1bbe2f15a42e049d2b2c81d59a2ef173c843b5
treec2d1324214924a758d89f81f170bde63b08590ce
parent2534e39e553859ff8bb71c5bd0e39bca48688698
bin: Make sure we don't add/remove a bin to/from itself

Doing so would deadlock from trying to acquire the object lock twice

https://bugzilla.gnome.org/show_bug.cgi?id=754036
gst/gstbin.c
tests/check/gst/gstbin.c