From 3a4602d7719de3c3ef7aece68b5f9489d0780162 Mon Sep 17 00:00:00 2001 From: Thijs Vermeir Date: Thu, 29 Jan 2009 13:30:45 +0100 Subject: [PATCH] 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. --- libs/gst/base/gstbasetransform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/gst/base/gstbasetransform.c b/libs/gst/base/gstbasetransform.c index db03bb777b..58b69a1940 100644 --- a/libs/gst/base/gstbasetransform.c +++ b/libs/gst/base/gstbasetransform.c @@ -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); }