Check suggested caps for proxy alloc

Because we are trying to resolve a suggestion here we don't need
to check on caps for proxy_alloc but we need to check on the suggested
caps instead.
This commit is contained in:
Thijs Vermeir 2009-01-29 13:39:29 +01:00
parent 3a4602d771
commit 50afd45957

View file

@ -1544,7 +1544,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 (caps, othercaps)) {
if (gst_caps_is_equal (sink_suggest, othercaps)) {
GST_DEBUG_OBJECT (trans,
"best caps same as input, marking for proxy");
priv->proxy_alloc = TRUE;