nlecomposition: Start task and initialize the stack after chaining up to parent's...
authorSebastian Dröge <sebastian@centricular.com>
Tue, 15 Nov 2016 15:56:00 +0000 (17:56 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 16 Nov 2016 12:00:58 +0000 (14:00 +0200)
commit57d40bec1a3c5048baaad08403d7b7e641a9c55c
tree2e906c3eb86e6697f273940f7c80cc9fb6761d86
parent3ac6f84259a96704b71795cf5e0e13b83b1a035b
nlecomposition: Start task and initialize the stack after chaining up to parent's change state function

Otherwise we could set the state of the children to PAUSED already (i.e.
start dataflow) from the composition's task, while the composition
itself is currently chaining up to the parent class' change state
function and did not activate the pads yet. This causes buffers and
events to be discarded, and everything to stop with a not-negotiated
error.

https://bugzilla.gnome.org/show_bug.cgi?id=774480
plugins/nle/nlecomposition.c