From: Mathieu Duponchelle Date: Tue, 8 Jul 2014 11:28:57 +0000 (+0200) Subject: composition: Make basic seeking working X-Git-Tag: 1.19.3~493^2~1453 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0dbc0fcd6146a9b54812aed74e0abf5dc1534e7;p=platform%2Fupstream%2Fgstreamer.git composition: Make basic seeking working Co-Authored by: Thibault Saunier --- diff --git a/gnl/gnlcomposition.c b/gnl/gnlcomposition.c index d5b2b61..03be69b 100644 --- a/gnl/gnlcomposition.c +++ b/gnl/gnlcomposition.c @@ -464,15 +464,14 @@ _seek_pipeline_func (SeekData * seekd) priv->next_base_time = 0; - seek_handling (seekd->comp, TRUE, FALSE); + GST_FIXME_OBJECT (comp, "BE smarter and do not force pipeline update on" + " seek (though it just does basic comparision and not full rebuild)"); + seek_handling (seekd->comp, TRUE, TRUE); priv->reset_time = TRUE; GNL_OBJECT (seekd->comp)->wanted_seqnum = gst_event_get_seqnum (seekd->event); - priv->gnl_event_pad_func (GNL_OBJECT (seekd->comp)->srcpad, - GST_OBJECT (seekd->comp), get_new_seek_event (seekd->comp, FALSE, FALSE)); priv->reset_time = FALSE; - beach: gst_event_unref (seekd->event); g_slice_free (SeekData, seekd); @@ -2103,8 +2102,7 @@ _process_pending_entries (GnlComposition * comp) static gboolean _emit_commited_signal_func (GnlComposition * comp) { - GST_INFO_OBJECT (comp, "Emiting COMMITED now that the stack " - "is ready"); + GST_INFO_OBJECT (comp, "Emiting COMMITED now that the stack " "is ready"); g_signal_emit (comp, _signals[COMMITED_SIGNAL], 0, TRUE);