timeline: Do not post upstream translated composition update messages

In the case of nested timeline in the toplevel timeline we ended up
with CompositionUpdate for seeks sent by our own composition to
granchildren composition. This was not causing essential issues
if all tracks where containing nested timelines but in cases
where one of the tracks only had a nested timelines, then we
were waiting forever for a `CompositionUpdateDone`.

CompositionUpdate translated into ASYNC_START/ASYNC_DONE should
be kept inside the GESTimeline and not travel up (possibly to some
parent GESTimeline).
This commit is contained in:
Thibault Saunier 2019-06-07 16:06:39 -04:00
parent 1e23799a24
commit 31ccb3106f

View file

@ -370,8 +370,10 @@ ges_timeline_handle_message (GstBin * bin, GstMessage * message)
GST_OBJECT_UNLOCK (timeline);
}
if (amessage)
if (amessage) {
gst_element_post_message (GST_ELEMENT_CAST (bin), amessage);
return;
}
}
forward: