Revert "element: Don't hold state lock all the time while sending an event"
authorSebastian Dröge <sebastian@centricular.com>
Wed, 17 Feb 2016 14:41:02 +0000 (16:41 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 17 Feb 2016 14:41:02 +0000 (16:41 +0200)
commita0b3a7f65878a844b1f983441749afdd3512ee54
treedda361344a851327c7bd3e70f028a456d7aab353
parent899060d5793e50fbef81d51d33ec85fdbaa884f1
Revert "element: Don't hold state lock all the time while sending an event"

This reverts commit b427997119a2b6aacbeb550f729936f8b963e24b.

It breaks things that used to work before, even if the change by itself is
correct and the previous code is just working around deeper bugs in the async
state change code. Let's go back to what previously worked and then fix async
state changes in general.

https://bugzilla.gnome.org/show_bug.cgi?id=760532
gst/gstelement.c