mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
Revert "timeline-element: Do not consider not serializable elements when getting top element"
This commit was causing issue where we were reporting the toplevel
element as an element but that element was actually in another
not serialized group. That is very tricky to handle for end users
as they are not guaranteed the toplevel clips were actually not
contained in another element.
This reverts commit ceb82ba302
.
Reviewed-by: Thibault Saunier <thibault.saunier@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D627
This commit is contained in:
parent
199b86684f
commit
b75d9b11c6
1 changed files with 1 additions and 2 deletions
|
@ -1149,8 +1149,7 @@ 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) &&
|
||||
GES_TIMELINE_ELEMENT_PARENT (toplevel)->priv->serialize)
|
||||
while (GES_TIMELINE_ELEMENT_PARENT (toplevel))
|
||||
toplevel = GES_TIMELINE_ELEMENT_PARENT (toplevel);
|
||||
|
||||
return gst_object_ref (toplevel);
|
||||
|
|
Loading…
Reference in a new issue