summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorThijs Vermeir <thijsvermeir@gmail.com>2009-01-29 13:30:45 +0100
committerThijs Vermeir <thijsvermeir@gmail.com>2009-02-02 18:23:41 +0100
commit8a080229c79e6b35db3772c6e1de26dd05fb7e8d (patch)
treea6677cc2c94e9227b3326a82b61543fa8781438c /libs
parent846d56b865da85f416580ebc3109e18cf079d673 (diff)
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)
Diffstat (limited to 'libs')
-rw-r--r--libs/gst/base/gstbasetransform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gst/base/gstbasetransform.c b/libs/gst/base/gstbasetransform.c
index d6f259b893..a3a8948090 100644
--- a/libs/gst/base/gstbasetransform.c
+++ b/libs/gst/base/gstbasetransform.c
@@ -2454,5 +2454,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);
}