Commit 1aa5b76a authored by Sjoerd Simons's avatar Sjoerd Simons
Browse files

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

parent 383d637f
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment