mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
Force reconfigure of basetransform to recheck alloc request
While reconfiguring a basetransform element we need also to recheck the alloc request. Because it's possible that due to caps changes the proxy_alloc state is not correct anymore. (Re-commit after discusion with Wim on IRC)
This commit is contained in:
parent
846d56b865
commit
8a080229c7
1 changed files with 1 additions and 0 deletions
|
@ -2454,5 +2454,6 @@ gst_base_transform_reconfigure (GstBaseTransform * trans)
|
||||||
GST_OBJECT_LOCK (trans);
|
GST_OBJECT_LOCK (trans);
|
||||||
GST_DEBUG_OBJECT (trans, "marking reconfigure");
|
GST_DEBUG_OBJECT (trans, "marking reconfigure");
|
||||||
trans->priv->reconfigure = TRUE;
|
trans->priv->reconfigure = TRUE;
|
||||||
|
gst_caps_replace (&trans->priv->sink_alloc, NULL);
|
||||||
GST_OBJECT_UNLOCK (trans);
|
GST_OBJECT_UNLOCK (trans);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue