mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
aggregator: Set flow to FLUSHING on pad stop
Fixes a rare race where the pad is being stopped while doing a query.
This commit is contained in:
parent
4b374ca3fb
commit
9e2640ba95
1 changed files with 2 additions and 0 deletions
|
@ -1493,7 +1493,9 @@ gst_aggregator_stop_pad (GstAggregator * self, GstAggregatorPad * pad,
|
|||
gst_aggregator_pad_flush (pad, self);
|
||||
|
||||
PAD_LOCK (pad);
|
||||
pad->priv->flow_return = GST_FLOW_FLUSHING;
|
||||
pad->priv->negotiated = FALSE;
|
||||
PAD_BROADCAST_EVENT (pad);
|
||||
PAD_UNLOCK (pad);
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue