projects
/
platform
/
upstream
/
gst-editing-services.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b03654
)
timeline-element: Do not consider not serializable elements when getting top element
author
Thibault Saunier
<tsaunier@gnome.org>
Fri, 18 Dec 2015 12:32:22 +0000
(13:32 +0100)
committer
Thibault Saunier
<tsaunier@gnome.org>
Mon, 21 Dec 2015 17:12:40 +0000
(18:12 +0100)
Those are temporary elements that should not be considered when dealing
with the hierarchy of objects.
Fixes T3455
ges/ges-timeline-element.c
patch
|
blob
|
history
diff --git
a/ges/ges-timeline-element.c
b/ges/ges-timeline-element.c
index
94e8968
..
721243a
100644
(file)
--- a/
ges/ges-timeline-element.c
+++ b/
ges/ges-timeline-element.c
@@
-1149,7
+1149,8
@@
ges_timeline_element_get_toplevel_parent (GESTimelineElement * self)
g_return_val_if_fail (GES_IS_TIMELINE_ELEMENT (self), NULL);
- while (GES_TIMELINE_ELEMENT_PARENT (toplevel))
+ while (GES_TIMELINE_ELEMENT_PARENT (toplevel) &&
+ GES_TIMELINE_ELEMENT_PARENT (toplevel)->priv->serialize)
toplevel = GES_TIMELINE_ELEMENT_PARENT (toplevel);
return gst_object_ref (toplevel);