mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
container: Stop ignoring notifies if ->add_child fails
This commit is contained in:
parent
7f1fbd2300
commit
c6078abc97
1 changed files with 1 additions and 0 deletions
|
@ -568,6 +568,7 @@ ges_container_add (GESContainer * container, GESTimelineElement * child)
|
||||||
priv->ignore_notifies = TRUE;
|
priv->ignore_notifies = TRUE;
|
||||||
if (class->add_child) {
|
if (class->add_child) {
|
||||||
if (class->add_child (container, child) == FALSE) {
|
if (class->add_child (container, child) == FALSE) {
|
||||||
|
priv->ignore_notifies = FALSE;
|
||||||
GST_WARNING_OBJECT (container, "Erreur adding child %p", child);
|
GST_WARNING_OBJECT (container, "Erreur adding child %p", child);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue