mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
basetransform: Also fush the cache when changing the upstream caps suggestion
This commit is contained in:
parent
383d637f85
commit
1aa5b76a6f
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue