From ad0693f47d57219ae6faeef9ce2257aa16a7f1a8 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 18 May 2011 16:47:44 +0200 Subject: [PATCH] basetransform: relax caps check 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gst/base/gstbasetransform.c b/libs/gst/base/gstbasetransform.c index 9fbaedc..e76d79e 100644 --- a/libs/gst/base/gstbasetransform.c +++ b/libs/gst/base/gstbasetransform.c @@ -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); -- 2.7.4