mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
basesink: forget previous times when stepping
When we start a flushing step operation, forget about the previous stream time so that the position reporting works correctly.
This commit is contained in:
parent
31c09d738c
commit
c811d51471
1 changed files with 3 additions and 0 deletions
|
@ -3480,6 +3480,9 @@ gst_base_sink_perform_step (GstBaseSink * sink, GstPad * pad, GstEvent * event)
|
|||
sink->priv->have_latency = TRUE;
|
||||
sink->need_preroll = FALSE;
|
||||
}
|
||||
priv->current_sstart = -1;
|
||||
priv->current_sstop = -1;
|
||||
priv->eos_rtime = -1;
|
||||
priv->call_preroll = TRUE;
|
||||
gst_base_sink_set_last_buffer (sink, NULL);
|
||||
gst_base_sink_reset_qos (sink);
|
||||
|
|
Loading…
Reference in a new issue