nle: Delay marking object as not in composition
authorThibault Saunier <tsaunier@igalia.com>
Wed, 11 Mar 2020 22:38:19 +0000 (19:38 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Wed, 11 Mar 2020 22:44:52 +0000 (22:44 +0000)
commit41be342ba880e244be8b5038d791419ee84dd543
tree2ede626b7005fe8e656dd0d4876fe8ebbcaf98b3
parentec2325ee9b795910d65a971fd22d350415809200
nle: Delay marking object as not in composition

Instead of doing it at the time of resetting `object->in_composition`
when user calls `gst_bin_remove` do it after we actually removed
it from the object thread, and do it in the `nle_object_reset`
method where it belongs

Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/96
plugins/nle/nlecomposition.c
plugins/nle/nleobject.c