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
@ -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…
x
Reference in New Issue
Block a user