audiofilter: Don't assert on slightly different caps
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>
Wed, 29 Jul 2009 18:15:53 +0000 (14:15 -0400)
committerJan Schmidt <thaytan@noraisin.net>
Thu, 30 Jul 2009 13:34:05 +0000 (14:34 +0100)
Plugins should not assert on incompatible caps, caps negotiation will
fail anyway.

gst-libs/gst/audio/gstaudiofilter.c

index 7d21e1487aaa78d517627b75448271a13d8fa112..fcad661ae2c8fb83831194dac3fdcb133102aba4 100644 (file)
@@ -165,8 +165,6 @@ gst_audio_filter_set_caps (GstBaseTransform * btrans, GstCaps * incaps,
   GstAudioFilter *filter;
   gboolean ret = TRUE;
 
-  g_assert (gst_caps_is_equal (incaps, outcaps));
-
   filter = GST_AUDIO_FILTER (btrans);
 
   GST_LOG_OBJECT (filter, "caps: %" GST_PTR_FORMAT, incaps);