bin: element: Ignore activate result for removed pads on state change
authorStian Selnes <stian@pexip.com>
Mon, 21 Sep 2015 13:22:19 +0000 (15:22 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 24 Sep 2015 10:14:57 +0000 (12:14 +0200)
commit0fbf1d3eb7feaa753cf1d0ec03546f854dd1f037
tree3cc0715ae4838f01b1d9b4b89a516aa8248f9d9b
parent64a152439c8a4b3ff493e8290bd442de02f08681
bin: element: Ignore activate result for removed pads on state change

This fixes a race where a state change may return failure if it has
request pads that are deactivated and removed (and thus have no
parent) at the same time as the element changes state and (de)activates
its pads.

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