mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
basesink: also preroll async=false sinks
Also preroll async=false sinks after a flush.
This commit is contained in:
parent
d90b7702f1
commit
ef44d4b539
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue