mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
composition: Add/Remove children in the same order as they were called
Co-Authored by: Thibault Saunier <tsaunier@gnome.org>
This commit is contained in:
parent
5ec01408df
commit
7b55a91284
1 changed files with 2 additions and 2 deletions
|
@ -598,7 +598,7 @@ _add_remove_object_gsource (GnlComposition * comp, GnlObject * object)
|
|||
childio->object = object;
|
||||
|
||||
MAIN_CONTEXT_LOCK (comp);
|
||||
g_main_context_invoke_full (comp->priv->mcontext, G_PRIORITY_HIGH,
|
||||
g_main_context_invoke_full (comp->priv->mcontext, G_PRIORITY_DEFAULT,
|
||||
(GSourceFunc) _remove_object_func, childio, _free_child_io_data);
|
||||
MAIN_CONTEXT_UNLOCK (comp);
|
||||
}
|
||||
|
@ -658,7 +658,7 @@ _add_add_object_gsource (GnlComposition * comp, GnlObject * object)
|
|||
childio->object = object;
|
||||
|
||||
MAIN_CONTEXT_LOCK (comp);
|
||||
g_main_context_invoke_full (comp->priv->mcontext, G_PRIORITY_HIGH,
|
||||
g_main_context_invoke_full (comp->priv->mcontext, G_PRIORITY_DEFAULT,
|
||||
(GSourceFunc) _add_object_func, childio, _free_child_io_data);
|
||||
MAIN_CONTEXT_UNLOCK (comp);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue