mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-29 20:35:40 +00:00
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
This commit is contained in:
parent
ec2325ee9b
commit
41be342ba8
2 changed files with 1 additions and 1 deletions
|
@ -3543,7 +3543,6 @@ nle_composition_remove_object (GstBin * bin, GstElement * element)
|
|||
|
||||
object = NLE_OBJECT (element);
|
||||
|
||||
object->in_composition = FALSE;
|
||||
_add_remove_object_action (comp, object);
|
||||
|
||||
return TRUE;
|
||||
|
|
|
@ -738,6 +738,7 @@ nle_object_reset (NleObject * object)
|
|||
object->inpoint = GST_CLOCK_TIME_NONE;
|
||||
object->priority = 0;
|
||||
object->active = TRUE;
|
||||
object->in_composition = FALSE;
|
||||
}
|
||||
|
||||
GType
|
||||
|
|
Loading…
Reference in a new issue