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.
This commit is contained in:
Thijs Vermeir 2009-01-29 13:30:45 +01:00
parent 35312121cf
commit 3a4602d771

View file

@ -2451,5 +2451,6 @@ gst_base_transform_reconfigure (GstBaseTransform * trans)
GST_OBJECT_LOCK (trans);
GST_DEBUG_OBJECT (trans, "marking reconfigure");
trans->priv->reconfigure = TRUE;
gst_caps_replace (&trans->priv->sink_alloc, NULL);
GST_OBJECT_UNLOCK (trans);
}