mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
composition: Make basic seeking working
Co-Authored by: Thibault Saunier <tsaunier@gnome.org>
This commit is contained in:
parent
ea055c8349
commit
f0dbc0fcd6
1 changed files with 4 additions and 6 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue