basetransform: Add debug output when returning a cached transform

This commit is contained in:
Sjoerd Simons 2011-10-28 11:50:23 +02:00
parent 1eb3380973
commit 383d637f85

View file

@ -721,6 +721,8 @@ gst_base_transform_getcaps (GstPad * pad)
trans->priv->cached_transformed_caps[cache_index] = NULL;
}
} else {
GST_DEBUG_OBJECT (trans,
"Returning cached transformed caps (index = %d)", cache_index);
caps = gst_caps_ref (trans->priv->cached_transformed_caps[cache_index]);
goto done;
}