projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31c09d7
)
basesink: forget previous times when stepping
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 3 Jun 2009 08:39:53 +0000
(10:39 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 3 Jun 2009 08:39:53 +0000
(10:39 +0200)
When we start a flushing step operation, forget about the previous stream time
so that the position reporting works correctly.
libs/gst/base/gstbasesink.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbasesink.c
b/libs/gst/base/gstbasesink.c
index
431797e
..
cb90d22
100644
(file)
--- a/
libs/gst/base/gstbasesink.c
+++ b/
libs/gst/base/gstbasesink.c
@@
-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);