basetransform: relax caps check
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 18 May 2011 14:47:44 +0000 (16:47 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 18 May 2011 14:49:28 +0000 (16:49 +0200)
Also run the caps transform function on ANY caps, like we used to do before.
This makes sure that capsfilter has a chance to filter ANY caps as well.

libs/gst/base/gstbasetransform.c

index 9fbaedc..e76d79e 100644 (file)
@@ -680,7 +680,7 @@ gst_base_transform_getcaps (GstPad * pad, GstCaps * filter)
   if (peerfilter)
     gst_caps_unref (peerfilter);
 
-  if (peercaps && !gst_caps_is_any (peercaps)) {
+  if (peercaps) {
     GstCaps *temp, *templ;
 
     GST_DEBUG_OBJECT (pad, "peer caps  %" GST_PTR_FORMAT, peercaps);