Commit 31ccb310 authored by Thibault Saunier's avatar Thibault Saunier 🌵

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).
parent 1e23799a
...@@ -370,8 +370,10 @@ ges_timeline_handle_message (GstBin * bin, GstMessage * message) ...@@ -370,8 +370,10 @@ ges_timeline_handle_message (GstBin * bin, GstMessage * message)
GST_OBJECT_UNLOCK (timeline); GST_OBJECT_UNLOCK (timeline);
} }
if (amessage) if (amessage) {
gst_element_post_message (GST_ELEMENT_CAST (bin), amessage); gst_element_post_message (GST_ELEMENT_CAST (bin), amessage);
return;
}
} }
forward: forward:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment