diff --git a/libs/gst/base/gstbasetransform.c b/libs/gst/base/gstbasetransform.c index 8d913e7a77..d6f259b893 100644 --- a/libs/gst/base/gstbasetransform.c +++ b/libs/gst/base/gstbasetransform.c @@ -1547,7 +1547,7 @@ gst_base_transform_buffer_alloc (GstPad * pad, guint64 offset, guint size, priv->proxy_alloc = FALSE; } else { /* we transformed into something */ - if (gst_caps_is_equal (sink_suggest, othercaps)) { + if (gst_caps_is_equal (caps, othercaps)) { GST_DEBUG_OBJECT (trans, "best caps same as input, marking for proxy"); priv->proxy_alloc = TRUE;