nlecomposition: Deactivate current stack in PAUSED_READY state
authorThibault Saunier <tsaunier@gnome.org>
Wed, 30 Nov 2016 12:53:38 +0000 (09:53 -0300)
committerThibault Saunier <tsaunier@gnome.org>
Wed, 30 Nov 2016 14:11:42 +0000 (11:11 -0300)
commit66e13d43b912f9f3fc7d151dd8dc6196506e69b4
tree38ff2612a46b2428c95d9bcad88fa440d79044af
parent54149e5eb57792ab03f15acd467516c197d70ece
nlecomposition: Deactivate current stack in PAUSED_READY state

To avoid a race when tearing down the composition (PAUSED_TO_READY),
we should make sure to tear down the current stack and let the GstBin
class handle the remaining thing to do during the change state.

We should still ignore any error happening when tearing down the
bin state just in case.

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