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:
d90b770
)
basesink: also preroll async=false sinks
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 28 Dec 2010 15:23:32 +0000
(16:23 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 28 Dec 2010 15:23:32 +0000
(16:23 +0100)
Also preroll async=false sinks after a flush.
libs/gst/base/gstbasesink.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbasesink.c
b/libs/gst/base/gstbasesink.c
index
9a51543
..
d04c67b
100644
(file)
--- a/
libs/gst/base/gstbasesink.c
+++ b/
libs/gst/base/gstbasesink.c
@@
-3239,10
+3239,10
@@
gst_base_sink_flush_start (GstBaseSink * basesink, GstPad * pad)
* anymore */
GST_PAD_STREAM_LOCK (pad);
gst_base_sink_reset_qos (basesink);
+ /* and we need to commit our state again on the next
+ * prerolled buffer */
+ basesink->playing_async = TRUE;
if (basesink->priv->async_enabled) {
- /* and we need to commit our state again on the next
- * prerolled buffer */
- basesink->playing_async = TRUE;
gst_element_lost_state (GST_ELEMENT_CAST (basesink));
} else {
basesink->priv->have_latency = TRUE;