From: Thibault Saunier Date: Fri, 7 Jun 2019 20:06:39 +0000 (-0400) Subject: timeline: Do not post upstream translated composition update messages X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31ccb3106fc81f4134fdebccb775fccf01fbdaff;p=platform%2Fupstream%2Fgst-editing-services.git 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). --- diff --git a/ges/ges-timeline.c b/ges/ges-timeline.c index f2fd616..ca8e67e 100644 --- a/ges/ges-timeline.c +++ b/ges/ges-timeline.c @@ -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: