basetransform: Also fush the cache when changing the upstream caps suggestion

This commit is contained in:
Sjoerd Simons 2011-10-28 11:53:32 +02:00
parent 383d637f85
commit 1aa5b76a6f

View file

@ -3027,6 +3027,7 @@ gst_base_transform_suggest (GstBaseTransform * trans, GstCaps * caps,
trans->priv->sink_suggest = caps;
trans->priv->size_suggest = size;
trans->priv->suggest_pending = TRUE;
gst_base_transform_clear_transformed_caps_cache (trans);
GST_DEBUG_OBJECT (trans, "new suggest %" GST_PTR_FORMAT, caps);
GST_OBJECT_UNLOCK (trans->sinkpad);
}