]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/commitdiff
basetransform: Only use the cached transform on strictly equal caps
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Thu, 3 Nov 2011 15:36:59 +0000 (15:36 +0000)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>
Fri, 4 Nov 2011 17:49:55 +0000 (17:49 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=663333

libs/gst/base/gstbasetransform.c

index 0174ac8c8be42b696925782f486f4172e9b70934..d3889324efed78e0f2033b6f3e1c73bc0768c265 100644 (file)
@@ -709,7 +709,7 @@ gst_base_transform_getcaps (GstPad * pad)
   peercaps = gst_pad_peer_get_caps_reffed (otherpad);
   GST_OBJECT_LOCK (trans);
   samecaps = (peercaps && trans->priv->cached_peer_caps[cache_index]
-      && gst_caps_is_equal (peercaps,
+      && gst_caps_is_strictly_equal (peercaps,
           trans->priv->cached_peer_caps[cache_index]));
   if (!samecaps) {
     if (trans->priv->cached_peer_caps[cache_index]) {